|
|
A033152
|
|
Position of first occurrence of n in the continued fraction for Niven's constant.
|
|
3
|
|
|
1, 3, 10, 7, 47, 41, 34, 13, 140, 252, 20, 335, 38, 35, 327, 185, 200, 55
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
MATHEMATICA
|
rd[n_] := rd[n] = RealDigits[ N[1 + Sum[1 - 1/Zeta[j], {j, 2, 2^n}], 400]][[1]]; rd[n = 4]; While[rd[n] =!= rd[n-1], n++]; Niven = FromDigits[{rd[n], 1}]; A033151 = ContinuedFraction[Niven]; a[n_] := Position[A033151, n][[1, 1]]; Table[a[n], {n, 1, 18}] (* Jean-François Alcover, Oct 31 2012 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|