OFFSET
1,1
COMMENTS
After a(2), all the terms in this sequence have second digit from right 1, 3, 7, or 9.
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..10000
EXAMPLE
a(7)= 71 which is prime. Removing the rightmost digit gives 7, which is also prime.
a(16)= 191 which is prime. Removing the rightmost digit gives 19, which is also prime.
MAPLE
KD:= proc() local a, b; a:= ithprime(n); b:=floor(a/10); if isprime(b) then return (a) :fi; end: seq(KD(), n=1..1000);
PROG
(PARI) is(n)=isprime(n) && isprime(n\10) \\ Charles R Greathouse IV, Oct 12 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
K. D. Bajpai, Oct 10 2013
STATUS
approved