OFFSET
1,1
COMMENTS
Numbers p such that p and its digit reversal are distinct members of A034962.
LINKS
Robert Israel, Table of n, a(n) for n = 1..1792
EXAMPLE
a(4) = 1511 because 1511 and its reversal 1151 are distinct primes, and 1511 = 499+503+509 and 1151 = 379+383+389 are sums of three consecutive primes.
MAPLE
digrev:= proc(n) local L, i;
L:= convert(n, base, 10);
add(L[-i]*10^(i-1), i=1..nops(L))
end proc:P:= select(isprime, [2, seq(i, i=3..nextprime(nextprime(333333)), 2)]):
P3:= convert(select(isprime, P[1..-3]+P[2..-2]+P[3..-1]), set):
B:= P3 intersect map(digrev, P3):
sort(convert(remove(t -> digrev(t)=t, B), list);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
J. M. Bergot and Robert Israel, Jun 20 2021
STATUS
approved