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!)
A336120 a(n) = A292383(A122111(n)). 9
0, 0, 0, 1, 0, 2, 0, 2, 0, 4, 0, 4, 0, 8, 0, 5, 0, 5, 0, 8, 0, 16, 0, 10, 1, 32, 0, 16, 0, 10, 0, 11, 0, 64, 2, 8, 0, 128, 0, 20, 0, 20, 0, 32, 0, 256, 0, 22, 0, 8, 0, 64, 0, 11, 4, 40, 0, 512, 0, 16, 0, 1024, 0, 22, 8, 40, 0, 128, 0, 16, 0, 20, 0, 2048, 1, 256, 0, 80, 0, 44, 0, 4096, 0, 32, 16, 8192, 0, 80, 0, 22, 0, 512, 0, 16384, 32, 44, 0, 17, 0, 17, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
a(1) = 0, and for n > 1, a(n) = [A122111(n) == 3 (mod 4)] + 2*a(A253553(n)).
a(n) = A292383(A122111(n)).
a(n) = A253566(n) - A336125(n).
A000120(a(n)) = A336121(n).
PROG
(PARI)
\\ Uses also code given in A336124:
A253553(n) = if(n<=2, 1, my(f=factor(n), k=#f~); if(f[k, 2]>1, f[k, 2]--, f[k, 1] = precprime(f[k, 1]-1)); factorback(f));
A336120(n) = if(1==n, 0, (3==A336124(n))+(2*A336120(A253553(n))));
CROSSREFS
Cf. A336119 (positions of zeros).
Sequence in context: A167156 A132952 A319998 * A029187 A201863 A035385
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 14 2020
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 16 00:45 EDT 2024. Contains 371696 sequences. (Running on oeis4.)