login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097497 Floor( prime(n)*(prime(n)+prime(n+1))/prime(n+1)). 0
3, 4, 8, 11, 20, 22, 32, 34, 41, 56, 56, 70, 80, 82, 88, 100, 116, 116, 130, 140, 140, 154, 160, 170, 190, 200, 202, 212, 214, 213, 250, 256, 272, 268, 296, 296, 308, 322, 328, 340, 356, 352, 380, 382, 392, 386, 410, 442, 452, 454, 460, 476, 472, 496, 508, 520 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

if seq(n+1) - seq(n) = 0 or 2 then prime(n) and prime(n+1) are often twins.

FORMULA

Prime(n) is to prime(n+1) as x is to prime(n)+prime(n+1)

EXAMPLE

Starting with the second prime: 3 is to 5 as x is to 8. x = 8*3/5 => 4

PROG

(PARI) p(n) = for(x=1, n, y=prime(x+1)*prime(x+2)/prime(x)+.0; print1(floor(y)", "))

CROSSREFS

Sequence in context: A183151 A084421 A024786 * A006167 A137504 A173401

Adjacent sequences:  A097494 A097495 A097496 * A097498 A097499 A097500

KEYWORD

frac,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Aug 24 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.