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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135366 a(n) is the smallest nonnegative k such that n divides 2^k+k. 0
0, 2, 1, 4, 4, 2, 6, 8, 7, 6, 3, 8, 12, 6, 7, 16, 16, 14, 18, 4, 19, 8, 22, 8, 33, 12, 7, 40, 11, 26, 23, 32, 8, 16, 6, 32, 5, 18, 37, 24, 40, 38, 42, 8, 7, 22, 10, 32, 61, 84, 38, 12, 35, 32, 46, 40, 32, 28, 24, 44 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

a(2^m)=2^m for m>0. If p is prime then by Fermat, a(p)<=p-1. 25 is the smallest n with a(n)>n.

EXAMPLE

a(9)=7 since 2^7+7= 9*15 and 2^k+k is not divisible by 9 for 0<=k<7.

CROSSREFS

Sequence in context: A128250 A086145 A113421 * A192017 A180566 A051289

Adjacent sequences:  A135363 A135364 A135365 * A135367 A135368 A135369

KEYWORD

nonn

AUTHOR

John L. Drost (drost(AT)marshall.edu), Feb 16 2008

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 03:20 EST 2012. Contains 205978 sequences.