cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A227525 Squares which can be represented as sum of a prime and its reverse in at least one way.

This page as a plain text file.
%I A227525 #15 Sep 14 2022 14:00:33
%S A227525 4,121,625,94249,698896,1517824,5313025,6325225,6895876,6948496,
%T A227525 7706176,15665764,63600625,95199049,170198116,449948944,522808225,
%U A227525 562069264,1101576100,1183979281,1254505561,1271564281,1615718416,4045214404,9504885049,10989328900
%N A227525 Squares which can be represented as sum of a prime and its reverse in at least one way.
%H A227525 Giovanni Resta, <a href="/A227525/b227525.txt">Table of n, a(n) for n = 1..56</a> (terms < 2*10^12)
%e A227525 121=29+92
%t A227525 SquareQ[n_Integer?Positive] := IntegerQ[Sqrt[n]] ; Union[Select[ Table[ Prime[x] + FromDigits[ Reverse[ IntegerDigits[ Prime[x]]]], {x,  5761455}], SquareQ]]
%t A227525 Select[Union[#+IntegerReverse[#]&/@Prime[Range[10^6]]],IntegerQ[Sqrt[#]]&] (* The program generates the first 12 terms of the sequence. *) (* _Harvey P. Dale_, Sep 14 2022 *)
%Y A227525 Cf. A067030.
%K A227525 nonn,base
%O A227525 1,1
%A A227525 _Shyam Sunder Gupta_, Jul 14 2013
%E A227525 a(20)-a(26) from _Giovanni Resta_, Jul 18 2013