OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
EXAMPLE
59 is in the sequence because 9^2 = 81 and 581 is not prime.
727 is in the sequence because 7^2 = 49 and 7249 is not prime.
MATHEMATICA
selQ[p_]:=(id=IntegerDigits[p]; id1=Most[id]; id2=Last[id]^2//IntegerDigits; p2=Join[id1, id2]//FromDigits; !PrimeQ[p2]); Select[Array[Prime, 100], selQ] (* see Jean-François Alcover in A244555 *)
PROG
(Magma) r:=func<i | Seqint(Intseq(Intseq(i)[1]^2) cat Intseq(Floor(i/10)))>; [p: p in PrimesUpTo(800) | not IsPrime(r(p))]; // Bruno Berselli, Jul 04 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jul 02 2014
STATUS
approved