login
Smallest prime p such that |p - R(p)| = 9n, where R(n) is digit reversal of n, A004086; or 0 if no such prime exists.
2

%I #5 Dec 05 2013 19:55:19

%S 23,13,41,37,61,17,29,19,0,1231,211,0,0,0,0,0,0,0,0,1021,2903,103,0,0,

%T 0,0,0,0,0,1031,2081,0,401,0,0,0,0,0,0,1151,4073,0,0,307,0,0,0,0,0,

%U 1051,2281,0,0,0,227,0,0,0,0,1061,2161,0,0,0,0,107,0,0,0,1181,2371,0,0,0,0,0

%N Smallest prime p such that |p - R(p)| = 9n, where R(n) is digit reversal of n, A004086; or 0 if no such prime exists.

%Y Cf. A070837.

%K base,nonn

%O 1,1

%A _Amarnath Murthy_, May 12 2002

%E Corrected and extended by _Sascha Kurz_, Jan 02 2003