login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160830 Integer part of the product of two consecutive primes divided by their sum. 2
1, 1, 2, 4, 5, 7, 8, 10, 12, 14, 16, 19, 20, 22, 24, 27, 29, 31, 34, 35, 37, 40, 42, 46, 49, 50, 52, 53, 55, 59, 64, 66, 68, 71, 74, 76, 79, 82, 84, 87, 89, 92, 95, 97, 98, 102, 108, 112, 113, 115, 117, 119, 122, 126, 129, 132, 134, 136, 139, 140, 143, 149, 154, 155, 157 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
The differences a(n+1) - a(n) appear to grow without bound while the difference 2 appears to occur infinitely often.
LINKS
FORMULA
a(n) = floor(prime(n)*prime(n+1)/(prime(n)+prime(n+1))) where prime(.)=A000040(.).
a(n) = floor( A006094(n)/A001043(n) ) - R. J. Mathar, May 29 2009.
EXAMPLE
a(5) = floor(prime(5)*prime(6)/(prime(5)+prime(6))) = 5.
MATHEMATICA
Table[Floor[Prime[n]*Prime[n+1]/(Prime[n] +Prime[n+1])], {n, 1, 100}] (* G. C. Greubel, Apr 30 2018 *)
PROG
(PARI) g(x) = p1=prime(x); p2=prime(x+1); y=p1*p2/(p1+p2); floor(y);
g1(n) = for(j=1, n, print1(g(j)", "))
(Magma) [Floor(NthPrime(n)*NthPrime(n+1)/(NthPrime(n)+NthPrime(n+1))): n in [1..100]]; // G. C. Greubel, Apr 30 2018
CROSSREFS
Sequence in context: A174799 A248566 A091627 * A363761 A363763 A189303
KEYWORD
nonn
AUTHOR
Cino Hilliard, May 27 2009
EXTENSIONS
Inserted "two" in definition - R. J. Mathar, May 29 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:08 EDT 2024. Contains 371794 sequences. (Running on oeis4.)