this post was submitted on 08 Mar 2026
27 points (100.0% liked)

askchapo

23237 readers
116 users here now

Ask Hexbear is the place to ask and answer ~~thought-provoking~~ questions.

Rules:

  1. Posts must ask a question.

  2. If the question asked is serious, answer seriously.

  3. Questions where you want to learn more about socialism are allowed, but questions in bad faith are not.

  4. Try !feedback@hexbear.net if you're having questions about regarding moderation, site policy, the site itself, development, volunteering or the mod team.

founded 5 years ago
MODERATORS
 

Am I meant to assume a_i is defined the same way as a_n for each of 1<= i <= n-1 ?

If so, I think I see the proof by induction on n, but the question just says a_i is defined for each 1<=i<=n-1, not that it is defined in that way. Is the question just overly vague or am I missing something obvious?

If only a_n is defined as the greatest integer such that the sum from 0 to n of each a_i/k^i is <=x, then I think there are counterexamples to the hypothesis, right?

Like if x=0.32, k=2, n=2, then a_0=0, and the inequality is satisfied by a_1 = 2 > k-1 = 1 and a_2 = -3 < 0.

top 12 comments
sorted by: hot top controversial new old
[–] mathemachristian@hexbear.net 6 points 2 days ago* (last edited 2 days ago) (1 children)

Am I meant to assume a_i is defined the same way as a_n for each of 1<= i <= n-1 ?

Yes, another way to look at it is to reform the inequality as

a~n~ is the largest integer s. t.
a~n~ <= k^n^ * (x - a~0~ - a~1~/k - a~2~/k^2^ - ... - a~n-1~/k^n-1^)

if that makes it clearer?

Given this we know that a~1~ is the largest integer s.t. k*(x - a~0~) >= a~1~

(Why does a~1~ even exist might be a good question?)

Then show that a~1~ <= k-1 (just substitute in).

Assume that a~i~ <= k-1 is proven for all integers i=1,...,n (where n might be 1) and show that a~n+1~ <= k-1 is true as well.

Hope this helps? If not please do say so

[–] cosecantphi@hexbear.net 2 points 1 day ago* (last edited 1 day ago) (2 children)

Yeah, that's helpful. So I show that 0 <= a_1 <= k-1 from a_1 <= k(x - a_0) < a_1 + 1 by showing 0 <= (x - a_0) < 1 which implies 0 <= k(x - a_0) < k. That's the base case. Then I assume that the hypothesis holds for some positive integer n-1. From there I manipulate the inequalities to show that they imply 0<= a_n <=k-1.

Then having already assumed 0 <= a_i <= k-1 for all 1 <= i <= n-1, that means it is the case for all 1<= i <= n. Since I have shown it to be true for n=1, it is true for n=2. Since it is true for n=1 and n=2, it is true for n=3, and so on for all positive integers n.

Is this the way? Also, I think this technique is an example of strong induction and not regular induction, is that right?

[–] mathemachristian@hexbear.net 1 points 1 day ago

Yes and yes 😁 I would show both inequalities seperately, i.e. one chain of inequalities for 0 <= a~i~ and another for a~i~ <= k-1 (or < k) (in the base case as well) just for clarity but the argument is solid.👍

[–] mathemachristian@hexbear.net 0 points 1 day ago (1 children)

Oh just be clear

Then I assume that the hypothesis holds for some positive integer n-1.

The hypothesis is "0 <= a~i~ <= k-1 for all i <= n-1" right?

[–] cosecantphi@hexbear.net 1 points 1 day ago

Yes, that one.

[–] crosswind@hexbear.net 2 points 2 days ago (1 children)

a_i and a_n are defined the same way, they're just examining two different numbers in the sequence, but each can only be defined after the previous numbers in the sequence have been defined. In your example, after determining a_0=0, you next have to evaluate n=1. This shows a_1 can't be 2, it has to be the largest integer such that 0+a_1/2 <= 0.32, so a_1 has to be 0. Next you evaluate a_2, which given a_0 and a_1 has to be 1.

This process is essentially expressing a number in a different base, but focusing on the non-integer part. What it's asking you to prove is similar to proving that a number in binary will only have digits 0 or 1, and a number in octal will only have digits 0-7.

[–] crosswind@hexbear.net 1 points 2 days ago (1 children)

About your question of definitions more broadly, generally when a~n~ is defined, other subscripts a~i~, a~j~, a~m~, a~xyz~, are defined in the same way, even if that isn't specifically stated.
The a is what carries the properties of the sequence, and any variables in the subscript are just different ways of referencing the index. That can be to communicate a separation between concepts, or to set up relationships like i<=n that will be needed later

[–] cosecantphi@hexbear.net 1 points 1 day ago

Thanks, I was thinking the same. I had already wrote a proof that worked if all a_i are defined like that, but wanted to be sure.

[–] Salah@hexbear.net 2 points 2 days ago* (last edited 2 days ago) (1 children)

Edit: read my follow up comments

~~There is information missing, so you should ask your professor or move on to a different question.~~

~~It might be that it means to say a_0<=a_1<=…<=a_n integers have been defined~~

~~But that’s just a guess I haven’t checked the validity of.~~

[–] Salah@hexbear.net 4 points 2 days ago (1 children)

Looking at it again I think you should read the question inductively.

So a_1 is defined as the largest integer such that the inequality for n=1 holds, then given that a_1, a_2 is the largest integer such that the inequality for n=2 holds etc

[–] Salah@hexbear.net 0 points 2 days ago (1 children)

So if x=0.32 and k=2 then a1=0, a2=1, a3=0 etc

[–] Salah@hexbear.net 2 points 2 days ago

I’ll use this final comment to complain about how lazy some mathematics professors are with formulating their questions that it sometimes takes more time to decipher the question than to come up with the correct answer.