OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..300
EXAMPLE
a(7) = 70 and 70 has 7 partitions of three numbers, x, y and z, for which 70' = x' + y' + z' = 59. In fact:
5' + 21' + 44' = 1 + 10 + 48 = 59;
6' + 14' + 50' = 5 + 9 + 45 = 59;
6' + 22' + 42' = 5 + 13 + 41 = 59;
10' + 10' + 50' = 7 + 7 + 45 = 59;
13' + 24' + 33' = 1 + 44 + 14 = 59;
13' + 27' + 30' = 1 + 27 + 31 = 59;
14' + 14' + 42' = 9 + 9 + 41 = 59.
Furthermore 70 is the minimum number to have this property.
MAPLE
ader:= proc(n) local F, t;
F:= ifactors(n)[2];
add(t[2]*n/t[1], t= F)
end proc:
g:= proc(n) local count, np, x, y, z, xp, yp, zp;
count:= 0; np:= ader(n);
for x from 1 to n/3 do
xp:= ader(x);
if xp > np then next fi;
for y from x to (n-x)/2 do
yp:= ader(y);
z:= n-x-y;
zp:= ader(z);
if xp + yp + zp = np then count:= count+1; fi;
od od;
count
end proc:
N:= 60: # for a(1) .. a(N)
count:= 0: V:= Vector(N):
for n from 1 while count < N do
v:= g(n);
if v > 0 and v <= N and V[v] = 0 then
count:= count+1; V[v]:= n;
fi
od:
convert(V, list); # Robert Israel, Jan 26 2026
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paolo P. Lava, Aug 06 2024
STATUS
approved
