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!)
A347249 a(n) = A331410(n) - A336361(n). 5
0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, -1, -1, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 1, 0, 0, 1, -1, 1, -1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 2, 1, -1, -1, 1, 1, -1, -1, 0, 0, 3, 0, 1, 1, 0, 0, -1, 1, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 1, 0, 2, 0, -2, -2, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,25
COMMENTS
Terms 0 .. 9 occur for the first time at n = 1, 15, 25, 75, 275, 725, 2175, 3725, 9025, 27075.
LINKS
FORMULA
a(n) = A331410(n) - A336361(n).
For all n >= 1, a(n) = a(2*n) = a(A000265(n)).
PROG
(PARI)
A331410(n) = { my(f=factor(n)); sum(k=1, #f~, if(2==f[k, 1], 0, f[k, 2]*(1+A331410(f[k, 1]+1)))); };
A336361(n) = if(!bitand(n, n-1), 0, 1+A336361(sigma(n>>valuation(n, 2))));
A347249(n) = (A331410(n)-A336361(n));
CROSSREFS
Cf. A000265, A331410, A336361, A347250 (positions of negative terms).
Cf. also A347374.
Sequence in context: A133703 A073265 A338326 * A025438 A220400 A285108
KEYWORD
sign
AUTHOR
Antti Karttunen, Aug 28 2021
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 June 8 04:51 EDT 2024. Contains 373207 sequences. (Running on oeis4.)