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!)
A212214 Number of representations of n as a sum of products of pairs of positive integers, n = Sum_{k=1..m} i_k*j_k with i_k<=j_k, i_k<=i_{k+1}, j_k<=j_{k+1}, i_k*j_k<=i_{k+1}*j_{k+1}. 9
1, 1, 2, 3, 6, 8, 14, 18, 29, 39, 57, 74, 109, 138, 192, 247, 335, 421, 565, 703, 926, 1151, 1484, 1828, 2349, 2868, 3624, 4423, 5538, 6706, 8345, 10048, 12394, 14895, 18219, 21789, 26549, 31596, 38226, 45415, 54656, 64654, 77501, 91368, 109003, 128244, 152279 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
EXAMPLE
a(0) = 1: 0 = the empty sum.
a(1) = 1: 1 = 1*1.
a(2) = 2: 2 = 1*1 + 1*1 = 1*2.
a(3) = 3: 3 = 1*1 + 1*1 + 1*1 = 1*1 + 1*2 = 1*3.
a(7) = 18 = A182269(7)-1, one of the 19 sums counted by A182269(7) is not allowed: 7 = 1*3 + 2*2.
MAPLE
with(numtheory):
b:= proc(n, m, i, j) option remember;
`if`(n=0, 1, `if`(m<1, 0, b(n, m-1, i, j) +`if`(m>n, 0,
add(b(n-m, m, min(i, k), min(j, m/k)), k=select(x->
is(x<=min(sqrt(m), i) and m<=j*x), divisors(m))))))
end:
a:= n-> b(n$4):
seq(a(n), n=0..30);
MATHEMATICA
b[n_, m_, i_, j_] := b[n, m, i, j] = If[n == 0, 1, If[m<1, 0, b[n, m-1, i, j] + If[m>n, 0, Sum[b[n-m, m, Min[i, k], Min[j, m/k]], {k, Select[Divisors[m], # <= Min[Sqrt[m], i] && m <= j*# &]}]]]]; a[n_] := b[n, n, n, n]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Dec 03 2014, after Alois P. Heinz *)
CROSSREFS
Sequence in context: A326450 A326530 A326635 * A089426 A167934 A327690
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 06 2012
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)