login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097431 Integer part of the hypotenuse of right triangles with consecutive prime legs. 0
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; refs; listen; history; internal format)
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.

PROG

(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: A131354 A092360 A129141 * A123929 A036715 A158384

Adjacent sequences:  A097428 A097429 A097430 * A097432 A097433 A097434

KEYWORD

nonn

AUTHOR

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 23:53 EST 2012. Contains 205689 sequences.