Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117131
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117131 Remainder when n^n is divided by the n-th prime number. +0
1
1, 1, 2, 4, 1, 12, 12, 7, 2, 6, 24, 26, 11, 6, 30, 15, 9, 41, 39, 32, 51, 64, 78, 4, 72, 43, 89, 25, 31, 109, 26, 62, 80, 36, 9, 72, 132, 140, 105, 52, 132, 135, 117, 147, 79, 193, 93, 49, 175, 76, 64, 187, 196, 9, 163, 221, 190, 62, 102, 280, 71, 87, 102, 268, 145, 54, 316, 9 (list; graph; listen)
OFFSET

1,3

FORMULA

a(n)=mod(n^n,prime(n))

EXAMPLE

a(8)=7 because 8^8 is 16777216, the 8th prime is 19, and 16777216 modulo 19 is 7.

CROSSREFS

Cf. A069547.

Sequence in context: A124503 A114499 A030730 this_sequence A030043 A045497 A117258

Adjacent sequences: A117128 A117129 A117130 this_sequence A117132 A117133 A117134

KEYWORD

easy,nonn

AUTHOR

Axel Harvey (ax(AT)hirsig.ca), Jul 23 2006

EXTENSIONS

More terms from Frank Adams-Watters (FrankTAW(AT)Netscape.net), Jul 26 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research