OFFSET
1,1
COMMENTS
Original definition: Overlapping prime-based palindromic sequence.
Only the first 8 terms are truly palindromes: a modulo 10 version of this would work with a limited digit set {1,2,3,5,7,9} with 2 and 5 only occurring as 1st and 3rd digit to either side.
FORMULA
a(n) = Sum_{k=1..floor(n/2)} prime(k)*(10^(n-k) + 10^(k-1)) + (n mod 2)*prime((n+1)/2)*10^floor(n/2). - M. F. Hasler, Apr 06 2009
MATHEMATICA
a[m_]=Delete[Table[If [ Floor[m/2]-n>=0, Prime[ n], Prime[m-n]], {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 M. F. Hasler, Apr 06 2009
STATUS
approved