OFFSET
1,2
COMMENTS
The first digit for each term is either 1, 2, 5, 6 or 7. - Chai Wah Wu, May 25 2017
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..100
Erich Friedman, What's Special About This Number?. See 5477 and 7745.
EXAMPLE
5477 is in the sequence because 5477 = 74^2 + 1 and 7745 = 88^2 + 1.
MAPLE
r:= n-> (s-> parse(cat(s[-i]$i=1..length(s))))(""||n):
select(x-> issqr(r(x)-1), [n^2+1$n=0..150000])[]; # Alois P. Heinz, May 24 2017
MATHEMATICA
Select[Range[10000000], IntegerQ[Sqrt[ # - 1]] && IntegerQ[Sqrt[FromDigits[Reverse[IntegerDigits[ # ]]] - 1]] &]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Tanya Khovanova, Dec 23 2006
EXTENSIONS
More terms from Alois P. Heinz, May 24 2017
STATUS
approved