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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025022 Least non-residue mod n is 5. 0
23, 46, 47, 73, 94, 97, 146, 167, 193, 194, 263, 313, 334, 337, 383, 386, 433, 457, 503, 526, 529, 577, 626, 647, 673, 674, 743, 766, 863, 866, 887, 914, 937, 983, 1006, 1033, 1058, 1081, 1103, 1153, 1154, 1223, 1294, 1297, 1346, 1367, 1486, 1487, 1583, 1607 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

LINKS

Eric Weisstein's World of Mathematics, Quadratic Nonresidue

PROG

Contribution from Michael B. Porter (michael_b_porter(AT)yahoo.com), Apr 18 2010: (Start)

(PARI) residue(n, m)={local(r); r=0; for(i=1, floor(m/2), if(i^2%m==n, r=1)); r}

isA025022(n)=residue(2, n) && residue(3, n) && !residue(5, n) (End)

CROSSREFS

Sequence in context: A122041 A040506 A081329 * A094694 A164010 A132682

Adjacent sequences:  A025019 A025020 A025021 * A025023 A025024 A025025

KEYWORD

nonn

AUTHOR

David W. Wilson (davidwwilson(AT)comcast.net)

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 02:48 EST 2012. Contains 205978 sequences.