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

Home > Numbers
Ratio Expression Evaluation (Posted on 2023-10-19) Difficulty: 3 of 5
Find the value of this expression:
1*22+2*32+3*42+..........+2023*20242
-------------------------------------
12*2+22*3+32*4+..........+20232*2024

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 4
It likely is very close to 2024/2023 which is about 1.0004943153732082

Numerator 4196864618100
Denominator 4194100795500
The ratio calculates to 1.000658978583196

-----------
def ratio(n):
    num = 0
    den = 0
    for i in range(1,n+1):
        num += i * (i+1)**2
        den += i**2 * (i+1)
    print('Numerator',num)
    print('Denominator',den)
    return num/den

print('The ratio calculates to', ratio(2023))

  Posted by Larry on 2023-10-19 12:05:09
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 (8)
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