OFFSET
1,1
COMMENTS
Hypotenuses of primitive Pythagorean triangles of the form (2m+1, 2m^2+2m, 2m^2+2m+1), where the hypotenuse and longer leg differ by one.
Except for the first term a(n) is of the form 60k + 1, hence the longer leg is 60k. 60 is the largest number that always divides the product of the sides of any Pythagorean triangle.
LINKS
Wikipedia, Pythagorean triple
EXAMPLE
13 is a term because 13 and 5 are Pythagorean primes and are sides of {5,12,13}.
421 is a term because 421 and 29 are Pythagorean primes and are sides of {29,420,421}.
1861 is a term because 1861 and 61 are Pythagorean primes and are sides of {61,1860,1861}.
5101 is a term because 5101 and 101 are Pythagorean primes and are sides of {101,5100,5101}.
PROG
(PARI) hyp(n) = {return((2*((n-1)/2)^2) + (2*((n-1)/2)) + 1); }
lista(n) = forprime(p=2, n, if((p%4 == 1) && isprime(p) && isprime(hyp(p)), print1(hyp(p), ", ")));
lista(3100)
CROSSREFS
KEYWORD
nonn
AUTHOR
Torlach Rush, May 20 2019
STATUS
approved