login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A128835 Numbers n such that n^n == 2 (mod 7), or 7 divides n^n-2. 0
11, 16, 32, 37, 38, 40, 53, 58, 74, 79, 80, 82, 95, 100, 116, 121, 122, 124, 137, 142, 158, 163, 164, 166, 179, 184, 200, 205, 206, 208, 221, 226, 242, 247, 248, 250, 263, 268, 284, 289, 290, 292, 305, 310, 326, 331, 332, 334, 347, 352, 368, 373, 374, 376, 389 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
First differences have a cycle {5,16,5,1,2,13}.
LINKS
FORMULA
a(1)=11, a(2)=16, a(3)=32, a(4)=37, a(5)=38, a(6)=40; n>=7: a(n)=a(n-6)+42.
EXAMPLE
11^11=285311670611=7*40758810087+2,
16^16=18446744073709551616=7*2635249153387078802+2.
MATHEMATICA
Select[Range[500], PowerMod[ #, #, 7]==2&]
CROSSREFS
Sequence in context: A166451 A109307 A327752 * A316171 A184064 A302207
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 14 2007
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 06:44 EDT 2024. Contains 371782 sequences. (Running on oeis4.)