Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A131462
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A131462 Residues of 3^(2^p(n)-1) for Mersenne numbers with prime indices. +0
6
0, 3, 3, 3, 992, 3, 3, 3, 877681, 195496587, 3, 36787319437, 1423919640546, 3542630063906, 77319946053101, 6458069995222223, 168313041233693968, 3, 139200566017647400916, 207875641949796659481 (list; graph; listen)
OFFSET

1,2

COMMENT

M_p is prime iff 3 ^ M_p is congruent to 3 mod M_p. Thus M_7 = 127 is prime because 3^127 mod 127 = 3 while M_11 = 2047 is composite because 3^2047 mod 2047 <> 3.

LINKS

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

FORMULA

a(n) = 3^(2^p(n)-1) mod 2^p(n)-1

EXAMPLE

a(5) = 3^(2^11-1) mod 2^11-1 = 3^2047 mod 2047 = 992

CROSSREFS

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

Sequence in context: A091323 A118539 A015665 this_sequence A117032 A078911 A082899

Adjacent sequences: A131459 A131460 A131461 this_sequence A131463 A131464 A131465

KEYWORD

nonn

AUTHOR

Dennis Martin (dennis.martin(AT)dptechnology.com), 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 December 2 15:58 EST 2008. Contains 150992 sequences.


AT&T Labs Research