Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A091824
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A091824 Number p such that ((p-1)!*2^(p-1) + 1)/p is a prime. +0
2
1, 3, 37, 61 (list; graph; listen)
OFFSET

0,2

COMMENT

1 is not prime but (1-1)!*2^(1-1) + 1 = 2 is a prime than by convention a(1)=1 if p is a prime and gcd(q,p)=1 then p divide (p-1)!*q^(p-1) + 1

EXAMPLE

((1-1)!*2^(1-1) + 1)/1 = 2 is a prime than a(1)=1

((3-1)!*2^(3-1) + 1)/3 = 3 is a prime than a(2)=3

((37-1)!*2^(37-1) +1)/37 = 690896939629347629014331483828706966091078572972973 is a prime than a(3)=37

PROGRAM

(PARI) for (i=3, 1100, if(isprime(((i-1)!*2^(i-1)+1)/i), print(i)));

CROSSREFS

Cf. A091825.

Sequence in context: A106103 A106996 A047691 this_sequence A139842 A056408 A056398

Adjacent sequences: A091821 A091822 A091823 this_sequence A091825 A091826 A091827

KEYWORD

hard,more,bref,nonn

AUTHOR

Mohammed Bouayoun (mohammed.bouayoun(AT)sanef.com), Mar 09 2004

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 September 6 16:04 EDT 2008. Contains 143483 sequences.


AT&T Labs Research