Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A075050
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A075050 Primes for which the eight closest primes are smaller. +0
8
15683, 31397, 43801, 44293, 89689, 221101, 248909, 265621, 282713, 341357, 349423, 370261, 396733, 399283, 404851, 440581, 492113, 517639, 520451, 542603, 544031, 561109, 566453, 566567, 576791, 604073, 626629, 639757, 673669, 678659 (list; graph; listen)
OFFSET

1,1

EXAMPLE

The eight closest primes to 15683 are 15679 (difference = 4), 15671 (difference = 12), 15667 (difference = 16), 15661 (difference = 22), 15649 (difference = 34), 15647 (difference = 36), 15643 (difference = 40), and 15641 (difference = 42). These are all smaller than 15683 so 15683 is in the list.

MATHEMATICA

NextPrim[n_] := Block[{k = n + 1}, While[ !PrimeQ[k], k++ ]; k]; ps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1}; Do[ps = Drop[ps, 1]; ps = Append[ps, NextPrim[ ps[[ -1]]]]; If[ ps[[ -1]] - ps[[ -2]] > ps[[ -2]] - ps[[1]], Print[ ps[[ -2]]]], {n, 1, 58393}]

CROSSREFS

Cf. A001223, A074979, A074982, A075030, A075037, A075038, A075043 and A075051.

Adjacent sequences: A075047 A075048 A075049 this_sequence A075051 A075052 A075053

Sequence in context: A017586 A075043 A109567 this_sequence A134121 A116493 A061733

KEYWORD

nonn

AUTHOR

N. Fernandez (primeness(AT)borve.org), Oct 10 2002

EXTENSIONS

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

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