[go: up one dir, main page]

login
(Sum of digits of n written in base 8) modulo 8.
2

%I #22 Aug 09 2024 10:08:41

%S 0,1,2,3,4,5,6,7,1,2,3,4,5,6,7,0,2,3,4,5,6,7,0,1,3,4,5,6,7,0,1,2,4,5,

%T 6,7,0,1,2,3,5,6,7,0,1,2,3,4,6,7,0,1,2,3,4,5,7,0,1,2,3,4,5,6,1,2,3,4,

%U 5,6,7,0,2,3,4,5,6,7,0,1,3,4,5,6,7,0,1,2,4,5,6,7,0,1,2,3,5,6,7,0,1,2,3,4,6

%N (Sum of digits of n written in base 8) modulo 8.

%C a(n) is the seventh row of the array in A141803. - _Andrey Zabolotskiy_, May 18 2016

%H G. C. Greubel, <a href="/A053843/b053843.txt">Table of n, a(n) for n = 0..5000</a>

%H Robert Walker, <a href="http://robertinventor.com/ftswiki/Self_Similar_Sloth_Canon_Number_Sequences">Self Similar Sloth Canon Number Sequences</a>

%F a(n) = A010877(A053829(n)). - _Andrey Zabolotskiy_, May 18 2016

%t Table[Mod[Plus @@ IntegerDigits[n, 8], 8], {n, 0, 50}] (* _G. C. Greubel_, Nov 02 2017 *)

%Y Cf. A010877, A053829, A141803.

%Y Cf. A010060, A053837-A053844.

%K base,nonn

%O 0,3

%A _Henry Bottomley_, Mar 28 2000