Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A091825
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A091825 Integers of the form ((p-1)!*2^(p-1) + 1)/p. +0
2
2, 3, 77, 6583, 337808291, 150922350277, 80658585770586353, 88333886984966359579, 204973945587849174028466087, 2822166959135536313284193618131862069 (list; graph; listen)
OFFSET

0,1

COMMENT

If p is prime and gcd(q,p)=1 then p divide (p-1)!*q^(p-1) + 1

EXAMPLE

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

((2-1)!*2^(2-1) + 1)/2 = 3/2 is not an integer

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

PROGRAM

(PARI) for (i=1, 100, if(denominator(((i-1)!*2^(i-1)+1)/i)==1, print((((i-1)!*2^(i-1)+1)/i)));

CROSSREFS

Cf. A091824.

Sequence in context: A115892 A145531 A042233 this_sequence A166091 A068185 A037391

Adjacent sequences: A091822 A091823 A091824 this_sequence A091826 A091827 A091828

KEYWORD

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 December 11 12:57 EST 2009. Contains 170656 sequences.


AT&T Labs Research