OFFSET
1,1
COMMENTS
Because every number with exactly three divisors must be the square of a prime, the last digit of each term in this sequence is either 1 or 9. - Harvey P. Dale, Aug 18 2011 [with thanks to Ant King and Christopher Hunt Gribble]
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A132153(n)^2.
MATHEMATICA
Join[{9}, Table[NextPrime[Sqrt[10^n-1], -1]^2, {n, 2, 20}]](* Harvey P. Dale, Aug 18 2011 *)
PROG
(Magma) A175734 := func<n|PreviousPrime(Isqrt(10^n)+1)^2>; // Jason Kimberley, Aug 18 2011
(PARI) A175734(n)=precprime(sqrtint(10^n))^2 \\ M. F. Hasler, Aug 18 2011
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Aug 24 2010
EXTENSIONS
a(14)-a(20) from Harvey P. Dale, Aug 18 2011
STATUS
approved