OFFSET
1,1
COMMENTS
Also, primes in A048375.
Conjecture: sequence is infinite.
Contains 10^(2*k)/2 - 10^k + 1 for k in A296445. - Robert Israel, Apr 29 2026
Also contains all primes p > 3 in A228209: their square is the concatenation of the squares of floor(p^2/10) and 3. For example, 55450123962253 is also a term. - M. F. Hasler, Apr 30 2026
EXAMPLE
The following primes squared are concatenation of distinct squares and therefore in the sequence:
7^2 = 49 = concat(2^2, 3^2).
13^2 = 169 = concat(4^2, 3^2).
19^2 = 361 = concat(6^2, 1^2).
...
Numbers 10^(2*k)/2 - 10^k + 1 with k in A296445 are primes, and their square is the concatenation of (10^k/2-1)^2 and (10^k-1)^2. - M. F. Hasler, Apr 30 2026
PROG
(PARI) is_A395338(p, i=isprime(p))=my(s=p^2, t=1); i&&while(s>t*=10, r=divrem(s, t); r[2]*10>=t && issquare(r[1])&&issquare(r[2])&&r[1]!=r[2]&&return(1))
forprime(p=1, , is_A395338(p, 1) && print1(p", ")) \\ M. F. Hasler, Apr 30 2026
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Pang Ern, Apr 19 2026
STATUS
approved
