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

Home > Just Math
Product of consecutive (Posted on 2024-09-11) Difficulty: 3 of 5
Find all integers n such that n4-8n+15 is product of two consecutive integers.

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts same | Comment 2 of 3 |
Testing for n up to 10^6, I found the same 2 solutions as Charlie.

n f(n) 
3 72 = 8*9
5 600 = 24*25

-----------
def f(n):
    return n**4 - 8*n + 15

big = 1000000
conprods = [k*(k+1) for k in range(big)]

for n in range(big):
    if f(n) > conprods[-1]:
        print('too big', conprods[-1],n, f(n))
        break
    if f(n) in conprods:
        print(n, f(n), int(f(n)**.5))

  Posted by Larry on 2024-09-11 11:23:08
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 (2)
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