login
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