OFFSET
1,1
LINKS
K. D. Bajpai, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3)=36: T(8)=36. Removing the rightmost digit gives 3, which is prime.
a(9)=231: T(21)=231. Removing the rightmost digit gives 23, which is prime.
MAPLE
KD := proc(n) local a, b, d; a :=n/2*(n+1); b:=floor(a/10); if isprime(b) then return (a) end if; end proc: seq(KD(n), n=1..10);
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
K. D. Bajpai, Oct 06 2013
STATUS
approved
