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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A089058 Numbers x such that xy/(x+y) is an integer for integers y=x,x+1,..n. 0
2, 3, 4, 4, 5, 6, 6, 6, 7, 8, 8, 8, 9, 9, 10, 10, 10, 10, 11, 12, 12, 12, 12, 12, 13, 14, 14, 14, 14, 15, 15, 15, 16, 16, 16, 16, 17, 18, 18, 18, 18, 18, 18, 19, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

xy/(x+y) is the side of the inscribed square of a right triangle with integer legs x and y.

EXAMPLE

x=20,y=5, 100/25 = integer 4.

PROG

(PARI) xydivxpy(n) = { for(x=1, n, for(y=x, n, h=x*y/(x+y); if(h==floor(h), print1(x", "); ) ) ) }

CROSSREFS

Sequence in context: A108872 A147847 A126974 * A187103 A080444 A082288

Adjacent sequences:  A089055 A089056 A089057 * A089059 A089060 A089061

KEYWORD

nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Dec 02 2003, corrected Nov 23 2006

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 16 17:11 EST 2012. Contains 205938 sequences.