Zio (india) problem i don't know how to solve such problems

  • Context: Undergrad 
  • Thread starter Thread starter captainvyom_akash
  • Start date Start date
  • Tags Tags
    India
Click For Summary

Discussion Overview

The discussion revolves around a unique sequence of positive integers defined by specific properties, where each position in the sequence corresponds to a value that indicates how many times that position number appears in the sequence. Participants explore methods to determine the values at specific positions, including 411, 1000, and 1245, while grappling with the formulation of an algorithm or closed form for the sequence.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • Some participants describe the sequence starting with 1 and having the property that if the value at position k is m, then k appears exactly m times.
  • One participant suggests using an Excel spreadsheet to find values but struggles to formulate an algorithm.
  • Another participant reformulates the definition of the sequence and provides values for positions 411, 1000, and 1245, claiming to have found them through brute force.
  • A participant proposes a method involving a chart to predict later positions based on earlier values, suggesting a pattern emerges from the sequence.
  • There is a contention regarding the stipulation that a_2 must equal 2, with one participant arguing that if a_2 were greater than 2, it would disrupt the nondecreasing nature of the sequence.
  • Several participants illustrate the sequence visually, noting patterns in how numbers are grouped and represented.
  • One participant expresses frustration with the complexity of the problem, indicating a desire for a simpler solution.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the formulation of the sequence or the stipulations regarding specific values. Multiple competing views and methods for solving the problem are presented, and the discussion remains unresolved.

Contextual Notes

Participants mention the difficulty in deriving a closed form for the sequence and the reliance on brute force methods. There are also unresolved assumptions regarding the stipulations of the sequence's properties.

captainvyom_akash
Messages
3
Reaction score
0
There is a unique sequence of positive numbers that starts with the number 1 at the
first position and has the following properties.
• Each value in the sequence is greater than or equal to every value that appears
earlier in the sequence.
• If the value at position k in the sequence is m, then the number k appears exactly m times in the sequence.
The first few numbers in this sequence are
Position : 1 2 3 4 5 6 7 8 9 10 11 12 · · · Sequence value : 1 2 2 3 3 4 4 4 5 5 5 6 · · ·
Notice, for instance, that the value at position 4 in the sequence is 3, so 4 itself appears 3 times in the sequence.

:confused: What is the value that appears at each of the following positions in this sequence?
(a) 411 (b) 1000 (c) 1245




-------------Akash
 
Mathematics news on Phys.org
Well, I can certainly find the answer using an excel spreadsheet, but as for an algorithm...? Still working on it.
 
I altered the wording of the definition without changing its meaning:

[itex]a_k[/itex] is a nondecreasing sequence of integers such that [itex]a_1 = 1[/itex] and has the following property. If the value at position k in the sequence is m, then the number k appears exactly m times in the sequence.

What are the following values?

(a) [itex]a_{411}[/itex]
(b) [itex]a_{1000}[/itex]
(c) [itex]a_{1245}[/itex]

I was unable to come up with a closed form for the solution. The three values required are:


(a) [itex]a_{411}[/itex] = 50[/color]
(b) [itex]a_{1000}[/itex] = 86[/color]
(c) [itex]a_{1245}[/itex] = 98[/color]

I found these by brute force.
 
Last edited:
jimmysnyder said:
I altered the wording of the definition without changing its meaning:

[itex]a_k[/itex] is a nondecreasing sequence of integers such that [itex]a_1 = 1[/itex] and has the following property. If the value at position k in the sequence is m, then the number k appears exactly m times in the sequence.

One stipulation: [itex]a_2 = 2[/itex]. Otherwise, [itex]a_2[/itex] could be anything.

As for solving it, I couldn't get anything either for the Nth case, or even really an iterative case. Interestingly, I think the problem may be intended to inspire a slight trick on a brute force technique, thanks to the choosing of the number 1245.

If you draw out the sequence, you can predict what a number at a later position will be. Suppose you have f(n) such that f(n) = f(n-1) + [itex]a_n[/itex]. We draw a little chart of N, [itex]a_n[/itex], and f(n):

n, [itex]a_n[/itex], f(n)

Hence, you get a little chart, wherein n will be in the series from position f(n-1)+1 to f(n).

1, 1, 1
2, 2, 3
3, 2, 5
4, 3, 8
5, 3, 11
6, 4, 15
7, 4, 19
8, 4, 23
(etc)

Translation:
The number 6 will be between (11+1)th through the 15th position.
The number 7 will be between (15+1)th through the 19th position.
The number 8 will be between (19+1)th through the 23rd position.
Etc.

The interesting thing being that if you write the series itself until you complete the number 20 (at n=98), you discover that 98 is between positions 1227 and 1246 in the series. Since 20 is a pretty round number, it looks like it might have been done this way, seeing as 1245 is one number short of 1246.

DaveE
 
davee123 said:
One stipulation: [itex]a_2 = 2[/itex]. Otherwise, [itex]a_2[/itex] could be anything.
Not so. If [itex]a_2 = m, m > 2[/itex], then 2 would have to appear m times and so the sequence would not be nondecreasing.
 
jimmysnyder said:
Not so. If [itex]a_2 = m, m > 2[/itex], then 2 would have to appear m times and so the sequence would not be nondecreasing.

Oh yeah! (oops) Ok, forget I said that.

DaveE
 
1
22 33
444 555
6666 7777
88888 99999...


It seems like a pretty predictable pattern.
 
Last edited:
kant said:
1
22 33
444 555
6666 7777
88888 99999...

It seems like a pretty predictable pattern.

Not quite-- slight mistake above: there should be four 8's, not 5, which puts them on the previous line of the way you're drawing the pattern. Drawing the pattern the way you're drawing it, you can do something like (base 36 shown):

1
22 33
444 555
6666 7777 8888
99999 AAAAA BBBBB
CCCCCC DDDDDD EEEEEE FFFFFF
GGGGGGG HHHHHHH IIIIIII JJJJJJJ
KKKKKKKK LLLLLLLL MMMMMMMM NNNNNNNN
OOOOOOOOO PPPPPPPPP QQQQQQQQQ RRRRRRRRR SSSSSSSSS
TTTTTTTTTT UUUUUUUUUU VVVVVVVVVV WWWWWWWWWW XXXXXXXXXX

Note that each line contains the number of groups equal to the next number in the sequence. Hence, the 1st line has 1, then 2, 2, 3, 3, 4, 4, 4, 5, 5, 5, etc.

DaveE
 
still, the pattern seem simple enough. If only i had the patience...
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 55 ·
2
Replies
55
Views
7K
  • · Replies 6 ·
Replies
6
Views
2K