A283526 Pierce expansion of the number Sum_{k >= 1} 1/(2^(2^k - 1)).
1, 2, 3, 4, 5, 16, 17, 256, 257, 65536, 65537, 4294967296, 4294967297, 18446744073709551616, 18446744073709551617, 340282366920938463463374607431768211456, 340282366920938463463374607431768211457
Offset: 0
Keywords
Examples
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) + ...
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.
Programs
-
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 *)
Formula
a(0) = 1, a(2k+1) = 2^(2^k), a(2k+2) = 2^(2^k) + 1.
Comments