login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A167470
Primes p such that (p reversed)+ 8 is a square.
1
29, 37, 71, 127, 293, 311, 353, 359, 613, 631, 677, 881, 1049, 1423, 1481, 1657, 1693, 1801, 2953, 2999, 3761, 6101, 6571, 6959, 7103, 7109, 7121, 7127, 8291, 8821, 8837, 10601, 10883, 12161, 12547, 14249, 14411, 16943, 16979, 18217, 18433, 18671, 29021
OFFSET
1,1
LINKS
EXAMPLE
29 is in the sequence because 92+8 = 10^2.
37 is in the sequence because 73+8 = 9^2.
MATHEMATICA
Select[Prime[Range[40000]], IntegerQ[Sqrt[FromDigits[Reverse[IntegerDigits[#]]] + 8]]&] (* Vincenzo Librandi, Sep 15 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(29021) | IsSquare(q+8) where q is Seqint(Reverse(Intseq(p)))]; // Vincenzo Librandi, Sep 15 2013
CROSSREFS
Sequence in context: A139895 A304688 A341174 * A152865 A333422 A108272
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Nov 04 2009
EXTENSIONS
Removed the constraint on the squares (an arbitrary large number) by R. J. Mathar, Oct 28 2010
STATUS
approved