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

Home > Numbers
Count in German (Posted on 2007-06-20) Difficulty: 3 of 5
Each different capital letter below represents a different digit. Each occurrence of the same capital letter represents the same digit.

ZWEI is a prime number.
DREI is a triangular number (that is, of the form n*(n+1)/2)
VIER is a perfect square.

What do DREI and VIER represent?

Added logic bonus:

If I told you there were no zeros anywhere, and I also told you that giving you the value of Z would allow you to figure out what ZWEI represented, what would you say the value of ZWEI is?

  Submitted by Charlie    
Rating: 3.0000 (3 votes)
Solution: (Hide)
The overall possibilities for the solution are:

ZWEI    DREI    VIER
2053    1653    4356
2753    1653    4356
2953    1653    4356
7253    1653    4356
7853    1653    4356
8053    1653    4356
8753    1653    4356

All agree that DREI = 1653 and VIER = 4356.

Bonus:

The only ZWEI that becomes unique upon being told the value of Z and that there are no zeros, is 8753.

    5   dim Taken(9)
   10   for Z=1 to 9
   20   Taken(Z)=1
   30   for W=0 to 9
   40    if Taken(W)=0 then
   50    :Taken(W)=1
   60    :for E=0 to 9
   70    :if Taken(E)=0 then
   80      :Taken(E)=1
   90      :for I=0 to 9
  100      :if Taken(I)=0 then
  110       :Taken(I)=1
  120       :for D=1 to 9
  130        :if Taken(D)=0 then
  140         :Taken(D)=1
  150         :for R=0 to 9
  160          :if Taken(R)=0 then
  170           :Taken(R)=1
  180           :for V=1 to 9
  190            :if Taken(V)=0 then
  200             :Taken(V)=1
  210             :Zwei=1000*Z+100*W+10*E+I
  220             :Drei=1000*D+100*R+10*E+I
  230             :Vier=1000*V+100*I+10*E+R
  240             :TrNo=int(sqrt(2*Drei))
  250             :Sr=int(sqrt(Vier)+0.5)
  260             :if prmdiv(Zwei)=Zwei and TrNo*(TrNo+1)/2=Drei and Sr*Sr=Vier then
  270              :print Zwei,Drei,Vier
  280             :endif
  285             :Taken(V)=0
  290            :endif
  300           :next V
  305           :Taken(R)=0
  310          :endif
  320         :next R
  325         :Taken(D)=0
  330        :endif
  340       :next D
  345       :Taken(I)=0
  350      :endif
  360      :next I
  365      :Taken(E)=0
  370    :endif
  380    :next E
  385    :Taken(W)=0
  390    :endif
  400   next W
  405   Taken(Z)=0
  410   next Z

From Enigma No. 1445 by Richard England, New Scientist, 2 June 2007.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
SolutionSolutionDej Mar2007-06-24 06:48:58
SolutionSolutionhoodat2007-06-22 14:33:39
Some ThoughtsMore AnswersK Sengupta2007-06-20 11:09:54
SolutionClaire2007-06-20 11:04:13
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 (19)
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