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!)
A125203 Number of ways to write n as 4*x*y - x - y with 1<=x<=y. 6
0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 2, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 2, 0, 0, 1, 0, 0, 2, 0, 0, 1, 0, 1, 1, 1, 0, 2, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 2, 0, 0, 2, 0, 0, 2, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 2, 0, 0, 2, 1, 0, 1, 0, 0, 1, 2, 0, 1, 0, 0, 2, 0, 1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,26
COMMENTS
a(A094178(n))=0; a(A124934(n))>0; a(A125217(n))=1; a(A125218(n))>1.
LINKS
MATHEMATICA
a[n_] := Solve[1<=x<=y && n == 4 x y - x - y, {x, y}, Integers] // Length;
Table[a[n], {n, 1, 105}] (* Jean-François Alcover, Oct 12 2021 *)
PROG
(Haskell)
a125203 n = length [() | x <- [1 .. (n + 1) `div` 3],
let (y, m) = divMod (x + n) (4 * x - 1),
x <= y, m == 0]
-- Reinhard Zumkeller, Jan 02 2013
CROSSREFS
Cf. A193773.
Sequence in context: A347709 A122179 A335877 * A023565 A321925 A025922
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 24 2006
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 March 29 06:44 EDT 2024. Contains 371265 sequences. (Running on oeis4.)