login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A111405
a(n) = f(f(n+1)) - f(f(n)), where f(0) = 0 and f(m) = bigomega(m) = A001222(m) for m > 0.
2
0, 0, 0, 1, -1, 1, -1, 1, 0, 0, -1, 1, -1, 1, 0, 1, -2, 1, -1, 1, 0, 0, -1, 2, -1, 0, 0, 0, -1, 1, -1, 1, 0, 0, 0, 1, -2, 1, 0, 1, -2, 1, -1, 1, 0, 0, -1, 1, 0, 0, 0, 0, -1, 2, -1, 1, -1, 0, -1, 2, -2, 1, 0, 1, -1, 0, -1, 1, 0, 0, -1, 1, -1, 1, 0, 0, 0, 0, -1, 1, 1, -1, -1, 2, -1, 0, 0, 1, -2, 2, -1, 0, 0, 0, 0, 1, -2, 1, 0, 1, -2
OFFSET
0,17
LINKS
PROG
(PARI)
f(n) = if(n==0, 0, bigomega(n));
A111405(n) = f(f(n+1)) - f(f(n)); \\ Antti Karttunen, Oct 07 2017
CROSSREFS
Sequence in context: A211229 A335621 A316675 * A089053 A214979 A068462
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Nov 12 2005
EXTENSIONS
Description clarified by Antti Karttunen, Oct 07 2017
STATUS
approved