A136188 Digital roots of the Fermat numbers in A000215(n).
3, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8, 5, 8
Offset: 0
Examples
2^(2^3) + 1 = 257. This has digital root 5 and hence a(3) = 5.
Links
- I. Izmirli, On Some Properties of Digital Roots, Advances in Pure Mathematics, Vol. 4 No. 6 (2014), Article ID:47285.
- Eric Weisstein's World of Mathematics, Digital Root.
- Eric Weisstein's World of Mathematics, Fermat Number.
- Index entries for linear recurrences with constant coefficients, signature (0,1).
Programs
-
Mathematica
FermatNumber[n_]:=2^(2^n)+1;DigitalRoot[n_]:=FixedPoint[Plus@@IntegerDigits[ # ]&,n];DigitalRoot/@(FermatNumber[ # ] &/@Range[0,25])
-
PARI
a(n)=if(n,if(n%2,5,8),3) \\ Charles R Greathouse IV, May 01 2016
Comments