login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A320312 Number of ways to write n as the sum of 4 positive integers a, b, c, d such that b != d and a/b - c/d = (a - c)/(b - d). 5
0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 2, 1, 2, 1, 0, 5, 1, 3, 1, 3, 3, 2, 2, 3, 4, 4, 3, 5, 1, 4, 4, 8, 3, 6, 4, 4, 4, 6, 6, 7, 5, 8, 5, 6, 4, 11, 4, 11, 6, 7, 6, 13, 8, 7, 8, 13, 4, 11, 5, 12, 10, 11, 9, 11, 9, 10, 10, 12, 7, 18, 6, 15, 10, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,17
LINKS
PROG
(PARI) m=80; v=vector(m); for(a=1, m, for(b=1, m, for(c=1, m, for(d=1, m, n=a+b+c+d; if(n<=m, if(b!=d&&a/b-c/d==(a-c)/(b-d), v[n]++)))))); v
CROSSREFS
Sequence in context: A191312 A240159 A309447 * A269942 A094645 A105793
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Oct 10 2018
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 23:15 EDT 2024. Contains 371798 sequences. (Running on oeis4.)