OFFSET
0,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..65537
PROG
(PARI)
A178344(n) = if(!n, 1, my(i=1, s=0); while(n, s+=prime(i)^(n%2); n >>= 1; i++); (s));
CROSSREFS
KEYWORD
sign,less
AUTHOR
Juri-Stepan Gerasimov, May 29 2010
EXTENSIONS
Two terms corrected by R. J. Mathar, May 31 2010
STATUS
approved