login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A054721 Number of 6-ary sequences with primitive period n. 7
1, 6, 30, 210, 1260, 7770, 46410, 279930, 1678320, 10077480, 60458370, 362797050, 2176734420, 13060694010, 78363884130, 470184976590, 2821108227840, 16926659444730, 101559946544280, 609359740010490, 3656158379595540, 21936950640097710, 131621703479470050 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Equivalently, output sequences with primitive period n from a simple cycling shift register.
LINKS
E. N. Gilbert and J. Riordan, Symmetry types of periodic sequences, Illinois J. Math., 5 (1961), 657-665.
FORMULA
a(n) = Sum mu(d)*6^(n/d); d|n.
a(0) = 1, a(n) = n * A032164(n).
G.f.: 1 + 6 * Sum_{k>=1} mu(k) * x^k / (1 - 6*x^k). - Ilya Gutkovskiy, Apr 14 2021
MAPLE
with(numtheory):
a:= n-> `if`(n=0, 1, add(mobius(d)*6^(n/d), d=divisors(n))):
seq(a(n), n=0..30); # Alois P. Heinz, Oct 21 2012
MATHEMATICA
a[0] = 1; a[n_] := Sum[MoebiusMu[d]*6^(n/d), {d, Divisors[n]}]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Mar 11 2014 *)
CROSSREFS
Column k=6 of A143324.
Sequence in context: A057896 A336509 A147779 * A074111 A231209 A073087
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 20 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 08:33 EDT 2024. Contains 371905 sequences. (Running on oeis4.)