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

Home > Just Math
Only integer answers (Posted on 2022-05-19) Difficulty: 3 of 5
Let

S(3)= 13+23+…+(2n)3
and
S(2)= 12+22+…+n2

For what integer values of n will the ratio r=S(3)/S(2) have an integer result?

List all existing answers.

Source: Russian Math Olympiad

See The Solution Submitted by Ady TZIDON    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts Matlab version | Comment 4 of 9 |
(In reply to computer confirmation by Larry)

clearvars , clc
s3=sym(0); s2=sym(0);
for n=1:9999999
  s3term=sym(2*n-1)^3+sym(2*n)^3; s2term=sym(n)^2;
  s3=s3+s3term; s2=s2+s2term;
  if s3/s2==round(s3/s2)
    disp([n s3 s2 s3/s2])
  end
end

finds

[1, 9, 1, 9]
[2, 100, 5, 20]
[5, 3025, 55, 55]

showing n, s3, s2, s3/s2 for each.

It was actually stopped around n = 20,000.

  Posted by Charlie on 2022-05-19 10:21:07
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
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