Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A117301
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A117301 Prime(n+3)*prime(n) - prime(n+1)*prime(n+2). +0
10
-1, -2, -12, -24, -12, -24, 56, -78, -48, 42, -184, -24, 152, 46, -260, -48, 102, -304, 110, 126, -60, 276, -250, -630, -24, -12, -24, 1272, -72, -1156, -294, 476, -24, -676, 580, -374, -60, 286, -740, 644, -24, -1206, -12, 1520, 1942, -1880 (list; graph; listen)
OFFSET

1,2

COMMENT

The number of negative values in this sequence appears to be consistently larger than the number of positive values. The following list gives the number of positive terms among the first n terms divided through the number of negative terms among the first n terms for various n.

n ratio

10^2 0.51515151515...

10^3 0.70940170940...

10^4 0.80212650928...

10^5 0.83826908582...

10^6 0.86339454584...

Cino Hilliard conjectures that this ratio converges and that there are infinitely many elements in the sequence whose absolute value is 12.

EXAMPLE

a(4) = prime(4)*prime(7) - prime(5)*prime(6) = 7*17 - 11*13 = -24

MATHEMATICA

Table[Prime[n]*Prime[n + 3] - Prime[n + 1]Prime[n + 2], {n, 1, 100}] - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com, Jun 27 2007

PROGRAM

(PARI) det2cont(n) = {local(m, p, x, D); m=0; p=0; for(x=1, n, D=prime(x)*prime(x+3)-prime(x+1)*prime(x+2); if(D<0, m++, p++); print1(D", ") ); print(); print("neg= "m); print("pos= "p); print("pos/neg = "p/m+.) }

CROSSREFS

Adjacent sequences: A117298 A117299 A117300 this_sequence A117302 A117303 A117304

Sequence in context: A012545 A009514 A112718 this_sequence A141079 A110821 A141586

KEYWORD

sign

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Apr 24 2006

EXTENSIONS

Edited by Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jun 27 2007

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 13 17:46 EDT 2008. Contains 145008 sequences.


AT&T Labs Research