OFFSET
1,2
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..500
EXAMPLE
MATHEMATICA
z= 300; p[k_] := p[k] = Sum[(h^2/4^h), {h, 1, k}];
d = N[Table[20/27 - p[k], {k, 1, z/5}], 12];
f[n_] := f[n] = Select[Range[z], 20/27 - p[#] < 1/8^n &, 1];
u = Flatten[Table[f[n], {n, 1, z}]] (* A248633 *)
d = Differences[u]
Flatten[Position[d, 1]] (* A248634 *)
Flatten[Position[d, 2]] (* A248635 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 11 2014
STATUS
approved