OFFSET
0,5
FORMULA
a(5*2^k+2) = 2^(3^(k+1)) - 1. Other terms are obtained by symmetry around (5*2^k,5*2^k+1,5*2^k+2,5*2^k+3). For instance 1, 1, 1, 2, 7, 1, 1, 1, (1, 1, 511, 2), 1, 1, 1, 7, 2, 1, 1, 1.
MATHEMATICA
ContinuedFraction[N[Sum[1/2^(3^k), {k, 0, Infinity}], 250]] (* Stefano Spezia, Sep 11 2021 *)
PROG
(PARI) my(v=contfrac(suminf(k=0, 1/2^(3^k)))); Vec(v, #v-1) \\ Michel Marcus, Sep 11 2021 and Sep 30 2024
CROSSREFS
KEYWORD
nonn,cofr
AUTHOR
Benoit Cloitre, Sep 11 2021
STATUS
approved