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

Home > Just Math
On the same floor (Posted on 2016-11-22) Difficulty: 3 of 5
How many solutions (m,n positive integers only) are there for
floor(m/6)=floor(n/13) ?

List them.

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution the computer says | Comment 12 of 13 |
there are 288:

m      n       value
1        1        0
1        2        0
1        3        0
1        4        0
1        5        0
1        6        0
1        7        0
1        8        0
1        9        0
1        10        0
1        11        0
1        12        0
2        1        0
2        2        0
2        3        0
2        4        0
2        5        0
2        6        0
2        7        0
2        8        0
2        9        0
2        10        0
2        11        0
2        12        0
3        1        0
3        2        0
3        3        0
3        4        0
3        5        0
3        6        0
3        7        0
3        8        0
3        9        0
3        10        0
3        11        0
3        12        0
4        1        0
4        2        0
4        3        0
4        4        0
4        5        0
4        6        0
4        7        0
4        8        0
4        9        0
4        10        0
4        11        0
4        12        0
5        1        0
5        2        0
5        3        0
5        4        0
5        5        0
5        6        0
5        7        0
5        8        0
5        9        0
5        10        0
5        11        0
5        12        0
6        13        1
6        14        1
6        15        1
6        16        1
6        17        1
6        18        1
6        19        1
6        20        1
6        21        1
6        22        1
6        23        1
6        24        1
6        25        1
7        13        1
7        14        1
7        15        1
7        16        1
7        17        1
7        18        1
7        19        1
7        20        1
7        21        1
7        22        1
7        23        1
7        24        1
7        25        1
8        13        1
8        14        1
8        15        1
8        16        1
8        17        1
8        18        1
8        19        1
8        20        1
8        21        1
8        22        1
8        23        1
8        24        1
8        25        1
9        13        1
9        14        1
9        15        1
9        16        1
9        17        1
9        18        1
9        19        1
9        20        1
9        21        1
9        22        1
9        23        1
9        24        1
9        25        1
10        13        1
10        14        1
10        15        1
10        16        1
10        17        1
10        18        1
10        19        1
10        20        1
10        21        1
10        22        1
10        23        1
10        24        1
10        25        1
11        13        1
11        14        1
11        15        1
11        16        1
11        17        1
11        18        1
11        19        1
11        20        1
11        21        1
11        22        1
11        23        1
11        24        1
11        25        1
12        26        2
12        27        2
12        28        2
12        29        2
12        30        2
12        31        2
12        32        2
12        33        2
12        34        2
12        35        2
12        36        2
12        37        2
12        38        2
13        26        2
13        27        2
13        28        2
13        29        2
13        30        2
13        31        2
13        32        2
13        33        2
13        34        2
13        35        2
13        36        2
13        37        2
13        38        2
14        26        2
14        27        2
14        28        2
14        29        2
14        30        2
14        31        2
14        32        2
14        33        2
14        34        2
14        35        2
14        36        2
14        37        2
14        38        2
15        26        2
15        27        2
15        28        2
15        29        2
15        30        2
15        31        2
15        32        2
15        33        2
15        34        2
15        35        2
15        36        2
15        37        2
15        38        2
16        26        2
16        27        2
16        28        2
16        29        2
16        30        2
16        31        2
16        32        2
16        33        2
16        34        2
16        35        2
16        36        2
16        37        2
16        38        2
17        26        2
17        27        2
17        28        2
17        29        2
17        30        2
17        31        2
17        32        2
17        33        2
17        34        2
17        35        2
17        36        2
17        37        2
17        38        2
18        39        3
18        40        3
18        41        3
18        42        3
18        43        3
18        44        3
18        45        3
18        46        3
18        47        3
18        48        3
18        49        3
18        50        3
19        39        3
19        40        3
19        41        3
19        42        3
19        43        3
19        44        3
19        45        3
19        46        3
19        47        3
19        48        3
19        49        3
19        50        3
20        39        3
20        40        3
20        41        3
20        42        3
20        43        3
20        44        3
20        45        3
20        46        3
20        47        3
20        48        3
20        49        3
20        50        3
21        39        3
21        40        3
21        41        3
21        42        3
21        43        3
21        44        3
21        45        3
21        46        3
21        47        3
21        48        3
21        49        3
21        50        3
22        39        3
22        40        3
22        41        3
22        42        3
22        43        3
22        44        3
22        45        3
22        46        3
22        47        3
22        48        3
22        49        3
22        50        3
23        39        3
23        40        3
23        41        3
23        42        3
23        43        3
23        44        3
23        45        3
23        46        3
23        47        3
23        48        3
23        49        3
23        50        3

Mintoris basic program (Android ):

 open 2, "on the same  floor.txt","w"
For m=1 to 50
for n=1to 50
 if Floor(m/6)=floor(n/13) then
    ct=ct+1
    write 2, Format$(m,"###0")
    write 2, "        "
    write 2, Format$(n,"###0")
    Write 2,"        "
    writeln 2,Format$(floor(n/13),"###0")
Endif
next
next
close 2
Print  ct

  Posted by Charlie on 2016-11-23 20:14:31
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 (16)
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