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!)
A003976 Möbius transform of A003963 (with alternate 0's omitted). 0
1, 1, 2, 3, 2, 4, 5, 2, 6, 7, 3, 8, 6, 4, 9, 10, 4, 6, 11, 5, 12, 13, 4, 14, 12, 6, 15, 8, 7, 16, 17, 6, 10, 18, 8, 19, 20, 6, 12, 21, 8, 22, 12, 9, 23, 15, 10, 14, 24, 8, 25, 26, 6, 27, 28, 11, 29, 16, 10, 18, 20, 12, 18, 30, 13, 31, 21, 8, 32, 33, 14, 20, 18, 12, 34, 35, 12, 20 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
N. J. A. Sloane, Transforms.
FORMULA
Multiplicative with a(p^e) = (q-1)q^(e-1) where q = pi(p) = A000720(p). - David W. Wilson, Sep 01 2001
EXAMPLE
The Möbius transform begins 1,0,1,0,2,0,3,0,2,0,4,0,5,0,2,0,6,0,7,0,...
MATHEMATICA
f[p_, e_] := Module[{q = PrimePi[p]}, (q-1)q^(e-1)]; a[n_] := Times @@ f @@@ FactorInteger[2*n-1]; a[1] = 1; Array[a, 100] (* Amiram Eldar, Sep 04 2023 *)
PROG
(PARI) a(n) = {my(f=factor(2*n-1)); for (i=1, #f~, q = primepi(f[i, 1]); f[i, 1] = (q-1)*q^(f[i, 2]-1); f[i, 2] = 1); factorback(f); } \\ Michel Marcus, Feb 27 2015
CROSSREFS
Sequence in context: A136181 A265110 A304742 * A252371 A275817 A286533
KEYWORD
nonn,easy,mult
AUTHOR
EXTENSIONS
More terms from David W. Wilson, Aug 29 2001
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 10:21 EDT 2024. Contains 371905 sequences. (Running on oeis4.)