PROG
(MAGMAMagma) [m: n in [1..300] | IsPrime(m) where m is Seqint(Intseq(NthPrime(n+1)) cat Intseq(NthPrime(n)^2))]; // Vincenzo Librandi, May 24 2015
(MAGMAMagma) [m: n in [1..300] | IsPrime(m) where m is Seqint(Intseq(NthPrime(n+1)) cat Intseq(NthPrime(n)^2))]; // Vincenzo Librandi, May 24 2015
editing
approved
Select[#[[1]]^2*10^IntegerLength[#[[2]]]+#[[2]]&/@Partition[Prime[ Range[ 300]], 2, 1], PrimeQ] (* Harvey P. Dale, Dec 05 2016 *)
approved
editing
editing
approved
a(2) = 257 is prime formed by concatenation of (5^2), = 25 with 7.
a(3) = 12113 is prime formed by concatenation of (11^2), = 121 with 13.
proposed
editing
editing
proposed
(MAGMA) [m: n in [1..300] | IsPrime(m) where m is Seqint(Intseq(NthPrime(n+1)) cat Intseq(NthPrime(n)^2))]; // Vincenzo Librandi, May 24 2015
proposed
editing
editing
proposed
nonn,base,changed
proposed
editing
editing
proposed