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

Home > Numbers
Power Crossed Factorial Poser (Posted on 2023-04-03) Difficulty: 3 of 5
Find all pairs (n, t) of positive integers that satisfy the equation:
                (n+1)t - 1 = n!
Provide adequate reasoning for your answer.

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 Solution | Comment 1 of 2
I found 3 solutions, have not proved there are no others.

(n,t)  (n+1)^t   n!
(1,1)   2        1
(2,1)   3        2
(4,2)   25        24

---------------------------
def fac(n):
    """ Factorial """
    if n == 1 or n == 0:
        return 1
    else:
        return n*fac(n-1)

print('(n,t)  (n+1)^t   n!')

big = 300
for n in range(1,big):
    for t in range(1,big):
        if (n+1)**t - 1 == fac(n):
            print('({},{})   {}        {}'.format(n,t, (n+1)**t, fac(n)))

  Posted by Larry on 2023-04-03 12:58:48
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 (3)
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