|
|
A226070
|
|
Numbers n such that n^2-1 is a triangular number and n^2+1 is a prime.
|
|
3
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Subsequence of A006452 that consists of the terms n such that n^2+1 is prime.
a(7) is too large to include here (see b-file). - Max Alekseyev, Jan 30 2014
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[Range[155000], PrimeQ[#^2+1]&&OddQ[Sqrt[8(#^2-1)+1]]&] (* Harvey P. Dale, Jul 19 2019 *)
|
|
PROG
|
|
|
CROSSREFS
|
Indices of corresponding triangular numbers: A226071.
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|