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

Home > Numbers
Triangular Triples (Posted on 2007-04-21) Difficulty: 3 of 5
Tom, Dick and Harry were searching for 3-digit triangular numbers (numbers of the form k*(k+1)/2) that are themselves each the product of three different triangular numbers greater than 1 (so 1*3*15 = 45 doesn't count, nor does 3*10*10 = 300 because of the duplicated 10).

Each of them found a different triangular number. One of the triangular factors is found only in Harry's solution. Another of the triangular factors is found only in Tom's solution.

What are the three triangular factors making up Dick's solution?

  Submitted by Charlie    
Rating: 4.0000 (1 votes)
Solution: (Hide)
These are the only sets of triangular numbers that work:
3 * 6 * 21   =   378
3 * 10 * 21  =   630
3 * 6 * 55   =   990

Only 10 and 55 are unique to being a factor of one particular 3-digit triangular, and so the solutions containing these factors must be Tom's and Harry's, so Dick's is 3*6*21 = 378.

DEFDBL A-Z
DIM tri(44)
first3 = 14
FOR i = 1 TO 44
  PRINT i; i * (i + 1) / 2
  tri(i) = i * (i + 1) / 2
NEXT

FOR i = first3 TO 44
  lim = INT(tri(i) ^ (1 / 3) + .00001)
  sub1 = 2
  DO
   remains = tri(i) / tri(sub1)
   IF remains = INT(remains) THEN
     sub2 = sub1
     DO
       remains2 = remains / tri(sub2)
       IF remains2 = INT(remains2) THEN
         FOR j = 2 TO first3
          IF tri(j) = remains2 THEN
            PRINT tri(sub1); tri(sub2); tri(j), tri(i)
          END IF
         NEXT
       END IF
       sub2 = sub2 + 1
     LOOP UNTIL tri(sub2) > INT(SQR(remains) + .5)
   END IF
   sub1 = sub1 + 1
  LOOP UNTIL tri(sub1) > lim

NEXT

Adapted from Enigma No. 1434 by Richard England, New Scientist 17 March 2007.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Puzzle AnswerK Sengupta2022-05-20 22:31:10
re(2): only one solution?vj2007-04-23 11:13:16
re: only one solution?Charlie2007-04-23 10:19:00
only one solution?vj2007-04-23 09:33:13
re: Triangles allbrianjn2007-04-21 21:19:33
SolutionTriangles allbrianjn2007-04-21 21:16:13
sourceRobby Goetschalckx2007-04-21 16:23:02
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 (15)
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