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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025021 Least non-residue mod n is 3. 1
7, 14, 17, 31, 34, 41, 49, 62, 79, 82, 89, 98, 103, 113, 119, 127, 137, 151, 158, 161, 178, 199, 206, 217, 223, 226, 233, 238, 254, 257, 271, 274, 281, 287, 289, 302, 322, 329, 343, 353, 367, 391, 398, 401, 434, 439, 446, 449, 463, 466, 487, 497, 511, 514, 521, 527, 542 (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}

isA025021(n)=residue(2, n) && !residue(3, n) (End)

CROSSREFS

Sequence in context: A092433 A056203 A178732 * A131439 A102041 A070792

Adjacent sequences:  A025018 A025019 A025020 * A025022 A025023 A025024

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 15 15:20 EST 2012. Contains 205823 sequences.