OFFSET
1,1
LINKS
Harvey P. Dale and Chai Wah Wu, Table of n, a(n) for n = 1..10000, first 1500 term from Harvey P. Dale.
MAPLE
isA002113 := proc(n) dgs := convert(n, base, 10) ; for i from 1 to nops(dgs)/2 do if op(i, dgs) <> op(-i, dgs) then RETURN(false); end if; end do: true; end proc:
A001043 := proc(n) ithprime(n)+ithprime(n+1) ; end proc:
for n from 1 do ps := A001043(n) ; if isA002113(ps) then printf("%d, \n", ps) ; fi; end do: # R. J. Mathar, Aug 14 2009
MATHEMATICA
palQ[n_]:=Module[{idn=IntegerDigits[n]}, idn==Reverse[idn]]; Select[Total/@ Partition[Prime[Range[5000]], 2, 1], palQ] (* Harvey P. Dale, Dec 30 2013 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Claudio Meller, Jul 06 2009
EXTENSIONS
Keyword:base added by R. J. Mathar, Aug 14 2009
STATUS
approved