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!)
A218124 Number of 7-ary sequences with primitive period n. 3

%I #11 Apr 14 2021 22:25:37

%S 1,7,42,336,2352,16800,117264,823536,5762400,40353264,282458400,

%T 1977326736,13841167200,96889010400,678222249264,4747561492800,

%U 33232924804800,232630513987200,1628413557439536,11398895185373136,79792266015134400,558545864082460128

%N Number of 7-ary sequences with primitive period n.

%H Alois P. Heinz, <a href="/A218124/b218124.txt">Table of n, a(n) for n = 0..400</a>

%F a(n) = Sum_{d|n} 7^d * mu(n/d) for n>0, a(0) = 1.

%F G.f.: 1 + 7 * Sum_{k>=1} mu(k) * x^k / (1 - 7*x^k). - _Ilya Gutkovskiy_, Apr 14 2021

%p with(numtheory):

%p a:= n-> `if`(n=0, 1, add(7^d *mobius(n/d), d=divisors(n))):

%p seq(a(n), n=0..30);

%Y Column k=7 of A143324.

%K nonn

%O 0,2

%A _Alois P. Heinz_, Oct 21 2012

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 May 6 15:46 EDT 2024. Contains 372294 sequences. (Running on oeis4.)