Figuring Out N[sub]x: A Guide

  • Thread starter Cbray
  • Start date
In summary, the process described involves arranging a three digit number in descending order and subtracting it from the number formed by arranging the digits in ascending order. This result is then repeated with the resulting number, and can be done multiple times. This process can lead to a sequence of numbers, with N(1) being the result of the first subtraction, N(2) being the result of the second subtraction, and so on. This process has a pattern, where the first digit is always 9, the second digit can be 5, 6, 7, 8, or 9, and the third digit is equal to (9-b). The resulting numbers can then be arranged in descending order to form a new number,
  • #1
Cbray
134
0
Tell me how to figure this out:
Let N0 denote a three digit number with not all digits identical. Arrange the digits in descending order and subtract from this number the number that is obtained by arranging the digits in ascending order. Let N1 denote the result, written as a three digit number (e.g., 42 is written as 042). Now perform the same operation on N1 that you performed on N0 and let N2 denote the result. Repeat to construct the sequence N3, N4,...

(a) Show that there exists a number Nx such that if N0=Nx then N1=Nx

(b) Show that N6=Nx for any initial number N0
 
Last edited:
Physics news on Phys.org
  • #2
Cbray said:
Tell me how to figure this out: Let (..) = subscript
Let N(0) denote a three digit number with not all digits identical. Arrange the digits in descending order and subtract from this number the number that is obtained by arranging the digits in ascending order. Let N(1) denote the result, written as a three digit number (e.g., 42 is written as 042). Now perform the same operation on N(1) that you performed on N(0) and let N(2) denote the result. Repeat to construct the sequence N(3), N(4),...

(a) Show that there exists a number N(x) such that if N(0)=N(x) then N(1)=N(x)

(b) Show that N(6)=N(x) for any initial number N(0)

Try using the buttons above the reply box that are marked X2 and X2 to get superscripts and subscripts respectively, or equivalently, you do it manually by surrounding text you want subscripted or superscripted in [noparse] [/noparse] tags and [noparse] [/noparse] tags respectively.

You will find it very useful that, by definition, any three-digit decimal number is constructed as:

a2102 + a1101 + a0100

where the coefficients a2, a1, and a0 are the first, second, and third digits respectively. You'll have to decide on an arbitrary ordering for the coefficients (i.e. which one is the largest, middle, and smallest).
 
  • #3
Let z be the greatest digit, and let x be the smallest.
Therefore, x<y<z
Then if we subtract the largest number formed from the smallest number formed, we have
zyx
xyz-
=ABC

Since x<z
C=10+x-z

And,
B=10+y-1-y

Also,
A=z-1-x

z=9,y=5,x=4

z(100)+y(10)+x-(x(100)-y(10)-z)=(z-x)(99)
=495

Hence we only need to check 9 possible numbers: 99,198,297,296,495,594,693,792 and 891 (10(99)=990 which is the same as 99)
 
Last edited:
  • #4
Cbray said:
Tell me how to figure this out: Let (..) = subscript
Let N(0) denote a three digit number with not all digits identical. Arrange the digits in descending order and subtract from this number the number that is obtained by arranging the digits in ascending order. Let N(1) denote the result, written as a three digit number (e.g., 42 is written as 042).

Ndescend = 100*a + 10*b + c
Nascend = 100*c + 10*b + a

Nd - Na = 99*a - 99*c = 99 * (a - c) ... this is your N(1)

There, that's a start. :shy:

Chucking in various values for a and c, remembering that a>c,
we generate numbers such as 396, 495, 198, 099, 594, etc.

These look like following a pattern, when rearranged in descending order:
1st digit, call it a: always 9
2nd digit, call it b: 5 or 6 or 7 or 8 or 9
3rd digit, call it c: equal to (9-b)

So the number with digits in descending order is: 100*9 + 10 * b + (9-b)
which happens to simplify to: 900 + 9 b + 9 = 909 + 9 * b

If b is 5, it comes to 954
if b is 6, 963
if b is 7, 972
if b is 8, 981
if b is 9, 990

and if arranged in ascending order, these would each become: 459, 369, etc.

Now, subtract the ascending form from the descending form,
954 - 459 = 495
963 - 369 = 594
972 - 279 = 693
981 - 189 = 792
990 - 099 = 891

When these numbers are arranged in descending order, we have 954, 954, 963, 972, 981
and in descending order, 459, 459, 369, 279, 189. ... these are your N(2)



Subtracting the ascending form from the descending form, ...

I'm not sure that I can see where this is heading, I'm just playing with numbers so I'll end here.
 

1. What is "Figuring Out N[sub]x: A Guide" about?

"Figuring Out N[sub]x: A Guide" is a comprehensive guide for scientists and researchers on how to calculate and determine the optimal sample size (N[sub]x) for their experiments or studies. It covers various statistical methods and considerations to help researchers make informed decisions about their sample size.

2. Why is determining the correct sample size important?

Determining the correct sample size is crucial in ensuring the accuracy and reliability of research results. A sample size that is too small may lead to biased or inconclusive results, while a sample size that is too large may waste time, resources, and money.

3. Who can benefit from "Figuring Out N[sub]x: A Guide"?

Any scientist, researcher, or student who conducts experiments or studies can benefit from this guide. It is especially useful for those who are new to the field or unfamiliar with statistical methods for sample size determination.

4. What are some factors to consider when determining the sample size?

There are several factors to consider, including the research objectives, type of data, expected effect size, desired level of precision, and statistical power. Other considerations may include the availability of resources and ethical considerations.

5. Is "Figuring Out N[sub]x: A Guide" suitable for all types of research?

Yes, this guide covers a wide range of research methods and can be applied to various fields of study. However, it is always important to consult with a statistician or expert in your specific field for more tailored advice.

Similar threads

Replies
5
Views
994
Replies
2
Views
754
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
993
  • Math Proof Training and Practice
Replies
10
Views
2K
Replies
1
Views
2K
  • Math Proof Training and Practice
3
Replies
100
Views
7K
Replies
6
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Math Proof Training and Practice
3
Replies
83
Views
17K
Back
Top