Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A015910
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A015910 2^n (mod n). +0
29
0, 0, 2, 0, 2, 4, 2, 0, 8, 4, 2, 4, 2, 4, 8, 0, 2, 10, 2, 16, 8, 4, 2, 16, 7, 4, 26, 16, 2, 4, 2, 0, 8, 4, 18, 28, 2, 4, 8, 16, 2, 22, 2, 16, 17, 4, 2, 16, 30, 24, 8, 16, 2, 28, 43, 32, 8, 4, 2, 16, 2, 4, 8, 0, 32, 64, 2, 16, 8, 44, 2, 64, 2, 4, 68, 16, 18, 64, 2, 16, 80, 4, 2, 64 (list; graph; listen)
OFFSET

1,3

COMMENT

a(0) could equally well be taken to be 1.

Certain residues do not appear below exponent n < 10000. E.g. 1,3,5,6,9,.. Also, some [r=12,13,14,15,16] arise first at large exponents [3763,95,1010,481,20]. Do all values eventually appear? - Labos E. (labos(AT)ana.sote.hu), Jan 03 2002

Known solutions to 2^n = 3 (mod n) are given in A050259.

For n an odd prime the sequence is equal to 2. - Paolo P. Lava (ppl(AT)spl.at), Feb 09 2007

REFERENCES

R. K. Guy, Unsolved Problems in Number Theory, F10.

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

Albert Frank, International Contest Of Logical Sequences, 2002 - 2003. Item 4

Albert Frank, Solutions of International Contest Of Logical Sequences, 2002 - 2003.

Peter L. Montgomery, 65-digit solution.

MAPLE

a:=n->2^n mod(n): seq(a(n), n=1..84); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Feb 15 2008

seq(irem(2^n, n), n=1..84); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Apr 20 2008

MATHEMATICA

Table[PowerMod[2, n, n], {n, 85} ]

CROSSREFS

Cf. A036236, A015911.

Adjacent sequences: A015907 A015908 A015909 this_sequence A015911 A015912 A015913

Sequence in context: A092741 A037036 A055947 this_sequence A023987 A021498 A025251

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com)

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 May 16 23:01 EDT 2008. Contains 139884 sequences.


AT&T Labs Research