Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest K Sengupta
 Share

Question

Determine the probability that for a positive integer N, chosen at random between 1 and 9 inclusively, the number 1111*N is expressible as the difference of two positive perfect squares in at least one way.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

So, randomly thinking.. at 4:30 am, forgive me. The first few perfect squares = 1,4,9,16,25. The differences of these are 3,5,7,9, which can be expressed as 2n+1. So 1111 = 2n+1, n=555. So, the 555th difference is 1111? I guess plug them all in, and it works with whole numbers, doesn't with numbers that aren't integers.

1111 = 555

2222 = 1110.5

3333 = 1666

4444 = 2221.5

5555 = 2777

6666 = 3332.5

7777 = 3888

8888 = 4443.5

9999 = 4999

(It's cool how the numbers themselves are patterns like that.)

So, er. 5/9?

Link to comment
Share on other sites

  • 0

Actually, I think I'm right. I just used an online perfect square producer (to save me the trouble), and it works for 1111. :D I'd check higher.. but it won't let me go over 1000, I cba to get a calculator, and I *really* need to go to sleep. :P

*edit* Well, I'm right for my nondecimal answers. I haven't thought of a way to check for the others yet.

*edit* Google calculator ftw. I'm right about the ones I'm right about. Fairly sure about the rest.

Edited by Izzy
Link to comment
Share on other sites

  • 0

the number 1111*N expressed as difference of two positive perfect squares, which means

1111*N = a^2-b^2

= (a+b)(a-b)

so a+b = 1111

a-b = N

only odd numbers satisfy this condition so probability is 5/9 = 0.555555555555555..

Link to comment
Share on other sites

  • 0

The probability is 7/9.

Since the difference of two squares, say a2-b2,

can be factored as (a-b)*(a+b) we have that a-b must account for

some of the factors of 1111*N (call their product F) and a+b must

account for the rest (call their product G). So, we have to solve


a-b=F
a+b=G

From this, we know that 2*a = F+G. So F and G must have the same

parity in order for the above linear system to be solvable in the

positive integers. Thus, if N has any factors of 2, it must have

an even number of them -- just one (or an odd number) would force

F and G to be of different parities.

We exhibit one way to express 1111*N for all N for which it is

possible:

1111 = 562-452

2222 can't be done: only one 2 in its factorization

3333 = 672-342

4444 = 1122-902

5555 = 782-232

6666 can't be done: only one 2 in its factorization

7777 = 892-122

8888 = 1232-792

9999 = 1682-1352

Link to comment
Share on other sites

  • 0

The probability is 7/9.

Since the difference of two squares, say a2-b2,

can be factored as (a-b)*(a+b) we have that a-b must account for

some of the factors of 1111*N (call their product F) and a+b must

account for the rest (call their product G). So, we have to solve


a-b=F
a+b=G

From this, we know that 2*a = F+G. So F and G must have the same

parity in order for the above linear system to be solvable in the

positive integers. Thus, if N has any factors of 2, it must have

an even number of them -- just one (or an odd number) would force

F and G to be of different parities.

We exhibit one way to express 1111*N for all N for which it is

possible:

1111 = 562-452

2222 can't be done: only one 2 in its factorization

3333 = 672-342

4444 = 1122-902

5555 = 782-232

6666 can't be done: only one 2 in its factorization

7777 = 892-122

8888 = 1232-792

9999 = 1682-1352

"Thus, if N has any factors of 2, it must have an even number of them -- just one (or an odd number) would force F and G to be of different parities." is not true. It should have read "Thus, N may not have just one factor of 2 as this would force F and G to be of different parities."

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...