login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A025029 Least non-residue mod n is 29. 0
18191, 35279, 36382, 38639, 63839, 70558, 77278, 87481, 95471, 104711, 127678, 147671, 174962, 185641, 190942, 193751, 199559, 209422, 217439, 284231, 290351, 295342, 312311, 322559, 336361, 363359, 371282, 375359, 387502, 394969, 399118 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..31.

PROG

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

isA025029(n)=local(a); a=1; forprime(p=2, 23, a=a && residue(p, n)); a=a && !residue(29, n); a \\ Michael B. Porter, May 06 2010

(PARI) is(n)=forprime(p=2, 29, if(!issquare(Mod(p, n)), return(p==29))); 0 \\ Charles R Greathouse IV, Jan 24 2020

CROSSREFS

Sequence in context: A250639 A205242 A172936 * A230948 A030331 A023340

Adjacent sequences:  A025026 A025027 A025028 * A025030 A025031 A025032

KEYWORD

nonn

AUTHOR

David W. Wilson

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 26 00:32 EDT 2020. Contains 334613 sequences. (Running on oeis4.)