OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
17->71-10=61; 31->13-10=3; 71->17-10=7; 941->149-10=139.
MAPLE
read("transforms") ; isA167496 := proc(n) isprime(n) and isprime(digrev(n)-10) ; end proc: A167496 := proc(n) if n = 1 then 17; else p := nextprime(procname(n-1)) ; while not isA167496(p) do p := nextprime(p) ; end do ; p ; end if; end proc: seq(A167496(n), n=1..80) ; # R. J. Mathar, Nov 08 2009
MATHEMATICA
Select[Prime[Range[5, 300]], PrimeQ[FromDigits[Reverse[IntegerDigits[#]]] - 10]&] (* Harvey P. Dale, Aug 12 2011 *)
PROG
(Magma) [p: p in PrimesInInterval(11, 2000) | IsPrime(q-10) where q is Seqint(Reverse(Intseq(p)))]; // Vincenzo Librandi, Sep 15 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Nov 05 2009
STATUS
approved