All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Triangular Cube (Posted on 2023-12-29) Difficulty: 3 of 5
If N is a nonnegative integer, the triangular number T(N)=1+2+3+...+N is given by N(N+1)/2.

Find a prime P such that the sum of the proper divisors of T(P) is a cube.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 1 of 2
clearvars
p=0;
for i=1:10000
  p=nextprime(p+1);
  tri=t(p);
  sd=sum(divisors(tri))-tri;
  cr=round(sd^(1/3));
  if cr^3==sd
    disp(p)
  end
end

function tn=t(N)
  tn=N*(N+1)/2;
end

finds only

     2
    53
    
The 2nd triangular number is 3, whose only proper divisor is 1, which is 1^3.

The 53rd triangular number is 1431m whose proper divisors are 1, 3, 9, 27, 53, 159, and 477, whose sum is 729, which is 9^3.

  Posted by Charlie on 2023-12-29 08:56:36
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information