OFFSET
1,2
COMMENTS
Partial sums for the convergent modified harmonic series in base 4 excluding 0 = Sum of 1/a(n) + 1/(a(n) + 1) + 1/(a(n) + 2) = Sum of (3*a(n)^2 + 6*a(n) + 2)/(a(n)*(a(n) + 1)*(a(n) + 2)).
LINKS
Robert Baillie, Sums of Reciprocals of Integers Missing a Given Digit, American Mathematical Monthly (Washington, DC: Mathematical Association of America) 86 (5): 372-374, May 1979. doi:10.2307/2321096. ISSN 0002-9890. JSTOR 2321096.
EXAMPLE
Pattern of numbers of skipped terms (numbers in base 4 with at least one zero) is 1 (4 = 10_4), 1 (8 = 20_4), 1 (12 = 30_4), 4+1 (16 = 100_4, 17 = 101_4, 18 = 102_4, 19 = 103_4, 20 = 110_4), 1, 1, 4+1, 1, 1, 4+1, 1, 1, 16+4+1, ...
PROG
(PARI) lista(nn)=prec0 = 1; for(n=1, nn, if (vecmin(digits(n, 4)), if (prec0, print1(n, , ", ")); prec0 = 0, prec0 = 1); ); \\ Michel Marcus, Aug 03 2015
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Sean Oneil, Jun 30 2015
STATUS
approved