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

Home > Numbers
Off by one (Posted on 2013-01-18) Difficulty: 2 of 5
N=(abcabd) is a 6-digit number with d-c=1.

FIND N, given it is an even square.

Rem: (abcabd) denotes chaining (= concatenation), not a product

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

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution two computer solutions | Comment 1 of 7

DEFDBL A-Z
CLS
FOR abc = 100 TO 998
  s$ = LTRIM$(STR$(abc))
  IF RIGHT$(s$, 1) < "9" THEN
    abcabd = abc * 1001 + 1
    sr = INT(SQR(abcabd) + .5)
    IF sr * sr = abcabd AND abcabd MOD 2 = 0 THEN PRINT abcabd
  END IF
NEXT abc

finds

 183184
 715716


  Posted by Charlie on 2013-01-18 12:11: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 (7)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information