A225771 Numbers that are positive integer divisors of 1 + 2*x^2 where x is a positive integer.
1, 3, 9, 11, 17, 19, 27, 33, 41, 43, 51, 57, 59, 67, 73, 81, 83, 89, 97, 99, 107, 113, 121, 123, 129, 131, 137, 139, 153, 163, 171, 177, 179, 187, 193, 201, 209, 211, 219, 227, 233, 241, 243, 249, 251, 257, 267, 281, 283, 289, 291, 297, 307, 313, 321, 323
Offset: 1
Keywords
Links
- Giovanni Resta, Table of n, a(n) for n = 1..1000
- Ralph H. Buchholz, On Triangles with rational altitudes, angle bisectors or medians, Newcastle University (1989), 21-22.
Programs
-
Mathematica
Select[Range[323], False =!= Reduce[1 + 2*x^2 == # y , {x, y}, Integers] &] (* Giovanni Resta, Jul 28 2013 *) Select[Range[323], OddQ[#]&&Intersection[{5, 7}, Mod[Divisors[#], 8]]=={} &] (* Frank M Jackson, May 23 2017 *)
-
PARI
{isa(n) = if( n<2, n==1, for( k=1, n\2, if( (1 + 2*k^2)%n == 0, return(1))))} /* Michael Somos, Jul 28 2013 */
Formula
a(n) integers whose prime divisors are congruent to 1 or 3 (mod 8). - Carmine Suriano, Jan 09 2015; corrected by Frank M Jackson, May 23 2017
Comments