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; text; 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.

LINKS

Table of n, a(n) for n=1..56.

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: A212550 A024786 A299069 * A279328 A006167 A137504

Adjacent sequences:  A097494 A097495 A097496 * A097498 A097499 A097500

KEYWORD

frac,nonn

AUTHOR

Cino Hilliard, Aug 24 2004

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 02:15 EDT 2019. Contains 322380 sequences. (Running on oeis4.)