Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131460
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131460 Residues of 3^(2^(p(n)-1)+1) for Mersenne numbers with prime indices. +0
6
0, 5, 22, 118, 1803, 8182, 131062, 524278, 498820, 271127480, 2147483638, 44060320367, 967030303245, 7907414671310, 49672464783624, 5545884378065500, 125222315103997360, 2305843009213693942, 130613131595363896897 (list; graph; listen)
OFFSET

1,2

COMMENT

Mp is prime iff 3^(2^(p(n)-1)+1) is congruent to (-9) Mod Mp. Thus M7 = 127 is prime because 3^65 Mod 127 = 118 (=127-9) while M11 = 2047 is composite because 3^1025 Mod 2047 <> 2038.

LINKS

Dennis Martin, Table of n, a(n) for n = 1..100

FORMULA

a(n) = 3^(2^(p(n)-1)+1) Mod 2^p(n)-1

EXAMPLE

a(5) = 3^(2^(11-1)+1) Mod 2^11-1 = 3^1025 Mod 2047 = 1803

CROSSREFS

Cf. A095847, A001348, A131458, A131459, A131461, A131462, A131463.

Sequence in context: A127620 A122951 A020003 this_sequence A062794 A036235 A020077

Adjacent sequences: A131457 A131458 A131459 this_sequence A131461 A131462 A131463

KEYWORD

nonn

AUTHOR

Dennis Martin (dennis.martin(AT)dptechnology.com), Jul 13 2007, Jul 20 2007

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 August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research