The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A322995 a(1) = 0; for n > 1, a(n) = A000265(A289271(n)). 4
0, 1, 1, 1, 1, 3, 1, 1, 1, 5, 1, 3, 1, 9, 5, 1, 1, 17, 1, 3, 9, 33, 1, 17, 1, 65, 1, 5, 1, 7, 1, 1, 33, 129, 3, 9, 1, 257, 65, 5, 1, 11, 1, 17, 9, 513, 1, 129, 1, 1025, 257, 33, 1, 2049, 17, 3, 513, 4097, 1, 7, 1, 8193, 5, 1, 33, 19, 1, 65, 1025, 13, 1, 3, 1, 16385, 2049, 129, 9, 35, 1, 65, 1, 32769, 1, 11, 129, 65537, 4097, 5, 1, 21, 17, 257 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
a(1) = 0; for n > 1, a(n) = A000265(A289271(n)).
For all n >= 1, A000120(a(n)) = A001221(n).
PROG
(PARI)
A000265(n) = (n/2^valuation(n, 2));
A289271(n) = { my(v=0, i=0, x=1); for(d=2, oo, if(n==1, return(v)); if(1==gcd(x, d)&&1==omega(d), if(!(n%d)&&1==gcd(d, n/d), v += 2^i; n /= d; x *= d); i++)); }; \\ After Rémy Sigrist's program for A289271.
A322995(n) = if(1==n, 0, A000265(A289271(n)));
CROSSREFS
Cf. also A322993.
Sequence in context: A302034 A302044 A028234 * A336466 A052125 A214874
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 02 2019
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 May 12 18:22 EDT 2024. Contains 372494 sequences. (Running on oeis4.)