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!)
A334091 a(1) = 0, then after the first differences of A329697. 4
0, 0, 1, -1, 1, 0, 1, -2, 2, -1, 1, -1, 1, 0, 0, -2, 1, 1, 1, -2, 2, -1, 1, -2, 1, 0, 1, -1, 1, -1, 1, -3, 3, -2, 2, -1, 1, 0, 0, -2, 1, 1, 1, -2, 1, 0, 1, -3, 3, -2, 0, 0, 1, 0, 0, -1, 2, -1, 1, -2, 1, 0, 1, -4, 3, 0, 1, -3, 3, -1, 1, -2, 1, 0, 0, 0, 1, -1, 1, -3, 3, -2, 1, 0, -1, 2, 0, -2, 1, 0, 1, -1, 1, 0, 0, -3, 1, 2, 0, -2, 1, -1, 1, -1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
LINKS
FORMULA
a(1) = 0, and for n > 1, a(n) = A329697(n) - A329697(n-1).
a(n) = A334090(n) - A334195(n).
PROG
(PARI)
A329697(n) = if(!bitand(n, n-1), 0, 1+A329697(n-(n/vecmax(factor(n)[, 1]))));
A334091(n) = if(1==n, 0, A329697(n)-A329697(n-1));
CROSSREFS
Sequence in context: A111915 A066520 A088526 * A054535 A054534 A085769
KEYWORD
sign
AUTHOR
Antti Karttunen, Apr 17 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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)