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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078594 Number of pairs (x,y) 1<=x<=y<=n such that 1/x+1/y+1/n > 1/2. 0
1, 3, 6, 10, 15, 20, 24, 26, 29, 30, 33, 34, 36, 37, 38, 40, 42, 43, 45, 46, 48, 50, 52, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..64.

FORMULA

for n>=43 a(n) = 2n-4

PROG

(PARI) a(n)=sum(i=1, n, sum(j=1, i, if(sign(1/i+1/j+1/n-1/2)-1, 0, 1)))

CROSSREFS

Sequence in context: A233774 A175313 A080518 * A168101 A027920 A033438

Adjacent sequences:  A078591 A078592 A078593 * A078595 A078596 A078597

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Dec 08 2002

STATUS

approved

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

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

Last modified October 25 20:39 EDT 2014. Contains 248557 sequences.