OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
The first term is 41 which is a prime and is the reverse concatenation of 1 and 4 which are two consecutive square numbers.
MATHEMATICA
cat[s_] := FromDigits[Flatten[IntegerDigits[s]]]; Select[cat /@ Reverse /@ Partition[Range[350]^2, 2, 1], PrimeQ] (* Amiram Eldar, Jul 15 2025 *)
PROG
(Python)
from sympy import isprime
A104301_list = []
for n in range(1, 2000):
x = int(str((n+1)**2)+str(n**2))
if isprime(x):
A104301_list.append(x) # Chai Wah Wu, Sep 13 2014
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Shyam Sunder Gupta, Apr 17 2005
STATUS
approved
