OFFSET
1,2
COMMENTS
A method of altering the order in the digit sets of palindromic numbers and making continued fractions from them.
FORMULA
c[1]=1 c[2]=0 c[3]=2 c[0]=3 a[m] = Delete[Table[If [ Floor[m/2]-n>=0, c[ Mod[n, 4]], c[Mod[m-n, 4]]], {n, 1, m}], m] b[m]=Sum[a[m][[i]]*10^(i-1), {i, 1, m-1}]
MATHEMATICA
digits=50 c={1, 0, 2, 3} a[m_]=Delete[Table[If [ Floor[m/2]-n>=0, c[[ Mod[n, 4]]], c[[Mod[m-n, 4]]]], {n, 1, m}], m] b=Table[Sum[a[m][[i]]*10^(i-1), {i, 1, m-1}], {m, 2, digits}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Roger L. Bagula, Dec 07 2003
EXTENSIONS
Edited by N. J. A. Sloane, Jan 05 2009.
STATUS
approved