

A061227


a(n) = p + R{p} where R{p} is the digit reversal of nth prime p.


2



4, 6, 10, 14, 22, 44, 88, 110, 55, 121, 44, 110, 55, 77, 121, 88, 154, 77, 143, 88, 110, 176, 121, 187, 176, 202, 404, 808, 1010, 424, 848, 262, 868, 1070, 1090, 302, 908, 524, 928, 544, 1150, 362, 382, 584, 988, 1190, 323, 545, 949, 1151, 565, 1171, 383
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,1


LINKS

Harvey P. Dale, Table of n, a(n) for n = 0..1000


FORMULA

a(n) = A000040(n) + A004087(n).  Reinhard Zumkeller, Feb 04 2014
a(n) = A056964(A000040(n)).  Robert Israel, May 23 2016


EXAMPLE

a(4) = 14 = 7 + 7, 7 is the fourth prime; a(8) = 110 = 19 + 91, 19 is the eighth prime.


MAPLE

revdigs:= proc(n) local L, i;
L:= convert(n, base, 10);
add(10^(nops(L)j)*L[j], j=1..nops(L))
end proc:
seq(x+revdigs(x), x=select(isprime, [2, seq(i, i=3..1000, 2); # Robert Israel, May 23 2016


MATHEMATICA

#+FromDigits[Reverse[IntegerDigits[#]]]&/@Prime[Range[60]] (* Harvey P. Dale, Jul 13 2013 *)


PROG

(Haskell)
a061227 n = p + a004086 p where p = a000040 n
 Reinhard Zumkeller, Feb 04 2014


CROSSREFS

Cf. A000040, A004086, A056964.
Sequence in context: A049632 A216732 A276983 * A274522 A000066 A266730
Adjacent sequences: A061224 A061225 A061226 * A061228 A061229 A061230


KEYWORD

nonn,base,look


AUTHOR

Amarnath Murthy, Apr 22 2001


EXTENSIONS

More terms from Patrick De Geest, Jun 04 2001


STATUS

approved



