OFFSET
0,2
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..24
Jeffrey Shallit, Simple continued fractions for some irrational numbers. J. Number Theory 11 (1979), no. 2, 209-217.
FORMULA
a(0) = 1, a(2k+1) = 2^(2^k), a(2k+2) = 2^(2^k) + 1.
EXAMPLE
The Pierce expansion of 0.6328430180437862 starts as 1 - 1/2 + 1/(2*3) - 1/(2*3*4) + 1/(2*3*4*5) - 1/(2*3*4*5*16) + ...
MAPLE
L:=[1]: for k from 0 to 6 do: L:=[op(L), 2^(2^k), 2^(2^k)+1]: od: print(L);
MATHEMATICA
{1}~Join~Map[{#, # + 1} &, 2^2^Range[0, 8]] // Flatten (* Michael De Vlieger, Mar 18 2017 *)
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Kutlwano Loeto, Mar 10 2017
STATUS
approved