A247910 Numbers k such that A247908(k+1) = A247908(k) + 1.
1, 2, 4, 6, 7, 9, 10, 12, 14, 15, 17, 19, 20, 22, 23, 25, 27, 28, 30, 32, 33, 35, 37, 38, 40, 42, 43, 45, 47, 49, 50, 52, 54, 55, 57, 59, 60, 62, 64, 65, 67, 69, 71, 72, 74, 76, 77, 79, 81, 82, 84, 86, 88, 89, 91, 93, 94, 96, 98, 100, 101, 103, 105, 106, 108
Offset: 1
Examples
A247908(n+1) - A247908(n) = (1,1,0,1,0,1,1,0,1,1,0,1,0,1,1,0,1,...), and a(n) is the position of the n-th 1.
Links
- Clark Kimberling, Table of n, a(n) for n = 1..500
Programs
-
Mathematica
$RecursionLimit = 1000; $MaxExtraPrecision = 1000; z = 300; u[1] = 0; u[2] = 1; u[n_] := u[n] = u[n - 1] + u[n - 2]/(n - 2); f[n_] := f[n] = Select[Range[z], E - 2 #/u[2 #] < 1/n^n &, 1]; u = Flatten[Table[f[n], {n, 1, z}]] (* A247908 *) w = Differences[u] Flatten[Position[w, 0]] (* A247909 *) Flatten[Position[w, 1]] (* A247910 *)
Comments