A356242 a(n) is the number of Fermat numbers dividing n, counted with multiplicity.
0, 0, 1, 0, 1, 1, 0, 0, 2, 1, 0, 1, 0, 0, 2, 0, 1, 2, 0, 1, 1, 0, 0, 1, 2, 0, 3, 0, 0, 2, 0, 0, 1, 1, 1, 2, 0, 0, 1, 1, 0, 1, 0, 0, 3, 0, 0, 1, 0, 2, 2, 0, 0, 3, 1, 0, 1, 0, 0, 2, 0, 0, 2, 0, 1, 1, 0, 1, 1, 1, 0, 2, 0, 0, 3, 0, 0, 1, 0, 1, 4, 0, 0, 1, 2, 0, 1
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
- Eric Weisstein's World of Mathematics, Fermat Number.
- Wikipedia, Fermat number.
Crossrefs
Programs
-
Mathematica
f = Table[(2^(2^n) + 1), {n, 0, 5}]; a[n_] := Total[IntegerExponent[n, f]]; Array[a, 100]
Comments