OFFSET
1,1
FORMULA
a(n) = 1 - A147781(n).
EXAMPLE
2+3+5+7+11+13+17+19 = 1384614 (1+3+8+4+6+1+4) = 27 (1).
23+29+31+37+41+43+47+53 = 5466528 (5+4+6+6+5+2+8) = 36 (0).
461+463+467+479+487+491+499+503 = 69230700 (6+9+2+3+7) = 27 (1).
509+521+523+541+547+557+563+569 = 77862060 (7+7+8+6+2+6) = 36 (0).
MAPLE
CROSSREFS
KEYWORD
easy,nonn,base,less
AUTHOR
E.J.P. Vening, Nov 15 2008
EXTENSIONS
More terms from R. J. Mathar, Jan 06 2009
STATUS
approved