Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078097
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078097 Least m such that P - m is prime, where P is the n-th perfect number. +0
1
1, 5, 5, 5, 5, 17, 9, 65, 93, 129, 627, 111, 407, 795, 377, 1509, 257, 5207, 1233, 8537, 3917, 20253, 4613, 15435, 5619, 43823 (list; graph; listen)
OFFSET

1,2

COMMENT

Some of the larger entries may only correspond to probable primes.

MATHEMATICA

e (* from A000043 *) = {2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107, 127, 521, 607, 1279, 2203, 2281, 3217, 4253, 4423, ...}; PrevPrim[n_] := Block[{k = n - 1}, While[ !PrimeQ[k], k-- ]; k]; Do[p = 2^(e[[n]] - 1)*(2^e[[n]] - 1); Print[p - PrevPrim[p]], {n, 1, 20}]

CROSSREFS

Cf. A061644, A000396, A000043.

Adjacent sequences: A078094 A078095 A078096 this_sequence A078098 A078099 A078100

Sequence in context: A003870 A076407 A134701 this_sequence A082476 A024729 A046271

KEYWORD

hard,more,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Dec 01 2002

EXTENSIONS

Edited and extended by Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 03 2002

a(19)-a(26) from Donovan Johnson (donovan.johnson(AT)yahoo.com), Feb 22 2008

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 October 11 09:12 EDT 2008. Contains 144832 sequences.


AT&T Labs Research