for n=1:9999
v=n^4-8*n+15;
div=divisors(v);
l=length(div)/2;
if l==round(l)
if div(l+1)-div(l)==1
disp([n v])
disp([div(l:l+1)])
disp(' ')
end
end
end
finds
3 72 n and the value of the expression
8 9 the two consecutive factors to make the expression
5 600 n and the value of the expression
24 25 the two consecutive factors to make the expression
|
Posted by Charlie
on 2024-09-11 09:48:31 |