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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A188889 Least number k > 0 that makes (k+1)^n (mod k^n) a positive even number. 1
3, 5, 3, 5, 7, 5, 9, 5, 7, 5, 3, 3, 3, 5, 5, 5, 3, 5, 3, 3, 5, 3, 3, 5, 3, 5, 7, 7, 3, 3, 5, 5, 3, 3, 3, 5, 5, 7, 7, 5, 9, 7, 3, 3, 3, 15, 7, 3, 3, 3, 3, 5, 3, 7, 3, 5, 5, 7, 3, 3, 5, 3, 5, 3, 3, 3, 5, 5, 5, 5, 5, 5, 7, 5, 5, 3, 5, 3, 3, 3, 5, 3, 13, 3, 3, 3, 3, 13, 3, 3, 5, 5, 3, 7, 3, 5, 5, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,1

COMMENTS

The value of (k+1)^n (mod k^n) is in A188699.

LINKS

Table of n, a(n) for n=3..100.

MATHEMATICA

Table[k = 1; While[r = Mod[(k + 1)^n, k^n]; r == 0 || OddQ[r], k++]; k, {n, 3, 100}]

CROSSREFS

Sequence in context: A253027 A249384 A228446 * A219604 A296489 A253398

Adjacent sequences:  A188886 A188887 A188888 * A188890 A188891 A188892

KEYWORD

nonn

AUTHOR

T. D. Noe, Apr 12 2011

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 November 15 13:47 EST 2019. Contains 329149 sequences. (Running on oeis4.)