Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A122550
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A122550 Floor of the slanted side of a right trapezoid formed by 3 consecutive primes. +0
1
4, 6, 9, 12, 14, 18, 19, 25, 30, 32, 38, 41, 43, 48, 54, 59, 61, 67, 71, 73, 79, 83, 90, 97, 101, 103, 107, 109, 114, 128, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 212, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277 (list; graph; listen)
OFFSET

1,1

COMMENT

It is easy to prove that for any 3 consecutive primes p1,p2,p3, a(n) always lies between p2 and p3.

EXAMPLE

For the first 3 prime numbers, go up 2, go right 3 and go down 5. Connecting

the figure to form a right trapezoid we have the slanted side = sqrt(18). The

integer part of this is 4, the first term of the sequence.

PROGRAM

(PARI) g(n) = { for(x=1, n, p1=prime(x); p2=prime(x+1); p3=prime(x+2); y=p3-p1; print1(floor(sqrt(p2^2+y^2)), ", ")) )

CROSSREFS

Sequence in context: A007073 A047408 A060644 this_sequence A076083 A094202 A007074

Adjacent sequences: A122547 A122548 A122549 this_sequence A122551 A122552 A122553

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Sep 20 2006

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 July 23 17:35 EDT 2008. Contains 142285 sequences.


AT&T Labs Research