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

Home > Numbers
As close as possible (Posted on 2021-02-11) Difficulty: 3 of 5
Let N=36p-5q

a. What values of positive integers p & q trigger the lowest positive N?
b. What if the 2 words"positive " of a. were erased?

No Solution Yet Submitted by Ady TZIDON    
Rating: 3.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Computer Solution | Comment 1 of 3
p=1, q =2
36- 25 =11

    Dim V1 As Double
    Dim i As Integer
    Dim j As Integer
    Dim k As Integer
    Grd.Rows = 1
    Grd.Cols = 4
    k = 0
    For i = 1 To 10
        For j = 1 To 10
            V1 = ((36) ^ i) - (5 ^ j)
            k = k + 1
            Grd.Rows = k + 1
            Grd.TextMatrix(k, 1) = i
            Grd.TextMatrix(k, 2) = j
            Grd.TextMatrix(k, 3) = V1
        Next
    Next

Results:
p q Value
1 1 31
1 2 11
1 3 -89
1 4 -589


  Posted by Veena IH on 2021-02-11 07:19:53
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 (0)
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