OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
For n = 7, prime(7) = 17 and a(7) = 149, which is the concatenation of the squares of the digits of 17. For n = 31, prime(31) = 127 and a(31) = 1449; but this term also appears at index 200, in fact prime(200) = 1223 and a(200) = 1449.
MATHEMATICA
Table[FromDigits[Flatten[IntegerDigits/@(IntegerDigits[Prime[n]]^2)]], {n, 50}] (* Harvey P. Dale, Aug 18 2016 *)
PROG
(Magma) [StringToInteger(&cat[IntegerToString(h): h in Reverse([i^2: i in Intseq(p)])]): p in PrimesUpTo(250)];
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jul 02 2014
EXTENSIONS
Edited by Bruno Berselli, Jul 02 2014
STATUS
approved