image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > PF Lounge > General Discussion > Fun, Photos & Games > Brain Teasers


Reply

image Decimal and nondecimal almost perfect squares of the form aaabbb Share It Thread Tools Search this Thread image
Old Nov20-08, 03:28 AM                  #1
K Sengupta

K Sengupta is Offline:
Posts: 89
Decimal and nondecimal almost perfect squares of the form aaabbb

Determine all possible positive decimal integer(s) of the form aaabbb, each with no leading zeroes, that becomes a perfect square when 1 is added to it.

What are the positive nondecimal integer base(s) S, with S<=16, such that S admits at least one valid solution in conformity with the given conditions?

Note: a cannot be equal to b.
  Reply With Quote
Old Mar3-09, 05:03 AM                  #2
wywong

wywong is Offline:
Posts: 83
Re: Decimal and nondecimal almost perfect squares of the form aaabbb

Let the perfect square = LaTeX Code: N^2 . We have

LaTeX Code: N^2 = aaabbb + 1
(N+1)(N-1) = 111 X a00b
= 111(999a+a+b)

If 9a is a perfect square, say LaTeX Code: c^2 , then by choosing N=ccc+1 and b=2c-a, the above equation will be satisfied.

Since aaabbb must be in the range 111000 to 999888, N must be in the range 334 to 999. Thus a can only assume values 1 and 4, with c = 3 and 6 respectively. Indeed, 111555 and 444888 are solutions.

However, N may not necessarily be of the form ccc+1. Although we only need to consider the cases when (N-1) is divisible by 37 and cases when (N+1) is divisible by 37, we still have 30+ cases to consider.

I can't find a way to substantially reduce the number of cases to consider, so I wrote a simple computer program to try them out. The solutions are:

base 5: aaabbb = 111333, N = 223
base 9: aaabbb = 222666, N = 445
base 10: aaabbb = 111555, N = 334; aaabbb = 444888, N=667
base 13: aaabbb = 333999, N = 667
base 16: aaabbb = 555888, N = 93D

As seen in the case of base 16, N is not of the form ccc+1. So it seems that many separate cases have to be considered.
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Decimal and nondecimal almost perfect squares of the form aaabbb
Thread Thread Starter Forum Replies Last Post
1/3 cannot be expressed in decimal form? Holocene General Math 24 Jul12-08 12:41 PM
Relatively Prime & Perfect Squares kingwinner Calculus & Beyond 2 May6-08 05:58 PM
A question about perfect squares Ore4444 Introductory Physics 9 Oct9-07 02:37 PM
Perfect squares daster Number Theory 9 Jan2-05 08:21 PM
Sums of digits of Perfect Squares tommy05 Number Theory 25 Apr12-04 09:55 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image