login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A078595
Number of pairs (x,y) 1<=x<=y<=n such that 1/x+1/y+1/n = 1/2.
0
0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 2, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
1,12
FORMULA
It seems that for n>=43 a(n) = 0
PROG
(PARI) a(n)=sum(i=1, n, sum(j=1, i, if(1/i+1/j+1/n-1/2, 0, 1)))
CROSSREFS
Sequence in context: A291749 A370599 A253786 * A301989 A216513 A364419
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Dec 08 2002
STATUS
approved