Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A097431
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A097431 Integer part of the hypotenuse of right triangles with consecutive prime legs. +0
1
3, 5, 8, 13, 17, 21, 25, 29, 37, 42, 48, 55, 59, 63, 70, 79, 84, 90, 97, 101, 107, 114, 121, 131, 140, 144, 148, 152, 157, 169, 182, 189, 195, 203, 212, 217, 226, 233, 240, 248, 254, 263, 271, 275, 280, 290, 307, 318, 322, 326, 333, 339, 347, 359, 367, 376, 381 (list; graph; listen)
OFFSET

1,1

FORMULA

hypot = floor(sqrt(prime(n)^2+prime(n+1)^2))

EXAMPLE

If legs = 3,5 then hypot = floor(sqrt(9+25)) = 5, the 2-nd entry.

PROGRAM

(PARI) f(n) = for(j=1, n, x=prime(j); y=prime(j+1); print1(floor(sqrt(x^2+y^2))", "))

CROSSREFS

Sequence in context: A020643 A092360 A129141 this_sequence A123929 A036715 A158384

Adjacent sequences: A097428 A097429 A097430 this_sequence A097432 A097433 A097434

KEYWORD

nonn

AUTHOR

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

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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research