Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A104199
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A104199 Lower bound on a straddle prime pair. +0
1
3, 5, 7, 7, 7, 11, 13, 13, 13, 17, 19, 19, 19, 23, 23, 23, 23, 23, 29, 31, 31, 31, 31, 31, 37, 37, 37, 41, 43, 43, 43, 47, 47, 47, 47, 47, 53, 53, 53, 53, 53, 59, 61, 61, 61, 61, 61, 67, 67, 67, 71, 73, 73, 73, 73, 73, 79, 79, 79, 83, 83, 83, 83, 83, 89, 89, 89, 89, 89, 89, 89 (list; graph; listen)
OFFSET

4,1

COMMENT

Straddle primes that occur only once on either side of the composite number are lower and upper twin primes respectively.

FORMULA

Straddle primes are the nearest primes preceding and following a composite number n.

EXAMPLE

The first straddle prime pair is 3 and 5 which straddle the composite number 4.

PROGRAM

(PARI) \Straddle primes - largest prime preceding composite n and smallest \prime following n. strad(n) = { local (x, y, pp, np); for(x=1, n, y=composite(x); pp=precprime(y); np=nextprime(y); print1(pp", ") ) }

CROSSREFS

Adjacent sequences: A104196 A104197 A104198 this_sequence A104200 A104201 A104202

Sequence in context: A130159 A127314 A092257 this_sequence A103470 A064002 A109535

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Mar 13 2005

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 16 00:31 EDT 2008. Contains 145098 sequences.


AT&T Labs Research