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

Home > Numbers
Q: What is this sum? (Posted on 2013-05-31) Difficulty: 3 of 5
A: AQIOQ

How does the above answer relate to the question?

See The Solution Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution re: hint (solution--spoiler) | Comment 2 of 4 |
(In reply to hint by Ady TZIDON)

  what    458588
    is       262
  this    399754
   sum     14431
 aqioq    873035

On the left is the base-27 sum, and the translation into decimal is on the right, so AQIOQ is the sum of WHAT+IS+THIS+SUM, when A=1 through Z=26.

DEFDBL A-Z
DATA what,is,this,sum
CLS

FOR j = 1 TO 4
  READ n$
  tot = 0
  FOR i = 1 TO LEN(n$)
    tot = tot * 27 + INSTR("abcdefghijklmnopqrstuvwxyz", MID$(n$, i, 1))
  NEXT
  PRINT USING "& #########"; RIGHT$("      " + n$, 6); tot
  sum = sum + tot
NEXT
PRINT
savesum = sum
n$ = ""
DO
  n$ = MID$("abcdefghijklmnopqrstuvwxyz", sum MOD 27, 1) + n$
  sum = sum \ 27
LOOP UNTIL sum = 0
PRINT USING "& #########"; RIGHT$("      " + n$, 6); savesum


  Posted by Charlie on 2013-06-01 10:24:10
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