login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004613 Numbers that are divisible only by primes congruent to 1 mod 4. 14
1, 5, 13, 17, 25, 29, 37, 41, 53, 61, 65, 73, 85, 89, 97, 101, 109, 113, 125, 137, 145, 149, 157, 169, 173, 181, 185, 193, 197, 205, 221, 229, 233, 241, 257, 265, 269, 277, 281, 289, 293, 305, 313, 317, 325, 337, 349, 353, 365, 373, 377, 389, 397, 401, 409, 421 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Also gives solutions z to x^2+y^2=z^4 with GCD(x,y,z)=1 and x,y,z positive. - John Sillcox (johnsillcox(AT)hotmail.com), Feb 20 2004

A065338(a(n)) = 1. [From Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Jul 10 2010]

REFERENCES

D. Cox, "Primes of Form x^2 + n y^2", Wiley, 1989.

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

FORMULA

Numbers of the form x^2+y^2 where x is even, y is odd and gcd(x, y) = 1.

MATHEMATICA

ok[1] = True; ok[n_] := And @@ (Mod[#, 4] == 1 &) /@ FactorInteger[n][[All, 1]]; Select[Range[421], ok] (* From Jean-François Alcover, May 05 2011 *)

PROG

(PARI) for(n=1, 1000, if(sumdiv(n, d, isprime(d)*if((d-1)%4, 1, 0))==0, print1(n, ", ")))

CROSSREFS

Essentially same as A008846.

Cf. A004614.

Sequence in context: A087445 A020882 A081804 * A008846 A162597 A120960

Adjacent sequences:  A004610 A004611 A004612 * A004614 A004615 A004616

KEYWORD

nonn,nice,easy

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 12:23 EST 2012. Contains 206011 sequences.