Let a 1 , a 2 , a 3 , a 4 , … be a sequence of all positive integers arranged in ascending order that have the following properties:
Here are the first few terms in this sequence: 2 , 3 , 4 , 6 , 7 , 8 , 9 , 2 2 , 2 3 , 2 4 , 2 6 , 2 7 , … Find the value of a 1 1 5 3 .
See also:
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
My solution as under.
0
0
0
0
t
o
0
0
0
9
,
0
0
1
0
t
o
0
0
1
9
,
0
0
2
0
t
o
0
0
2
9
,
0
0
3
0
t
o
0
0
3
9
,
0
0
4
0
t
o
0
0
4
9
,
0
0
5
0
t
o
0
0
5
9
,
0
0
6
0
t
o
0
0
6
9
,
0
0
7
0
t
o
0
0
7
9
,
0
0
8
0
t
o
0
0
8
9
,
0
0
9
0
t
o
0
0
9
9
,
0
0
0
2
,
0
0
1
2
,
0
0
2
2
,
0
0
3
2
,
0
0
4
2
,
0
0
5
2
,
0
0
6
2
,
0
0
7
2
,
0
0
8
2
,
0
0
9
2
,
0
0
0
3
,
0
0
0
4
,
0
0
0
6
,
0
0
0
7
,
0
0
0
8
,
0
0
1
3
,
0
0
1
4
,
0
0
1
6
,
0
0
1
7
,
0
0
1
8
,
0
0
2
3
,
0
0
2
4
,
0
0
2
6
,
0
0
2
7
,
0
0
2
8
,
t
o
t
o
t
o
t
o
t
o
t
o
0
0
9
3
,
0
0
9
4
,
0
0
9
6
,
0
0
9
7
,
0
0
9
8
,
0
0
0
9
,
0
0
1
9
,
0
0
2
9
,
0
0
3
9
,
0
0
4
9
,
0
0
5
9
,
0
0
6
9
,
0
0
7
9
,
0
0
8
9
,
0
0
9
9
,
X
X
X
X
a
1
t
o
a
7
a
8
t
o
a
1
4
a
1
5
t
o
a
2
1
a
2
2
t
o
a
2
8
a
2
9
t
o
a
3
5
a
3
6
t
o
a
4
2
a
4
3
t
o
a
4
9
a
5
0
t
o
a
5
6
a
5
7
t
o
a
6
3
∴
0
0
0
0
t
o
0
0
9
9
∴
0
1
0
0
t
o
0
1
9
9
∴
0
2
0
0
t
o
0
2
9
9
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
∴
0
8
0
0
t
o
0
8
9
9
∴
0
9
0
0
t
o
0
9
9
9
⟹
a
1
⟹
X
X
X
X
⟹
a
6
4
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
⟹
a
4
4
1
⟹
a
5
0
4
t
o
a
6
3
.
t
o
a
1
2
6
.
t
o
a
5
0
3
.
t
o
a
5
6
7
.
∴ 0 0 0 0 t o 0 9 9 9 ∴ 1 0 0 0 t o 1 9 9 9 ∴ 2 0 0 0 t o 2 9 9 9 ⟹ a 1 ⟹ X X X X ⟹ a 5 6 8 t o a 5 6 7 . . t o a 1 1 3 4 .
S o 1 1 5 3 − 1 1 3 4 = 1 9 . ∴ 1 9 f r o m 3 0 0 0 a r e . 1 4 t h o f 3 0 0 0 , i s 3 0 2 9 = a 1 1 3 4 + 1 4 . 1 9 − 1 4 = 5 l e f t f r o m 3 0 3 0 t o 3 0 3 9 a r e : 3 0 3 2 , 3 0 3 3 , 3 0 3 4 , 3 0 3 6 , 3 0 3 7 .
∴ a 1 1 5 3 = 3 0 3 7 .
In a thousand there are 7 * 9 *9=567 "a"s. I took 7 * 8 * 8=448, since I took all numbers with 5 on places
other than the unit place also out of "a" .
Log in to reply
The solution above is detail explanation for ease of understanding. Below a short solution, same logic.
From given condition, the unit digit of "a"' has "seven" options, 2,3,4,6,7,8,9.
Since only "1" can not appear in "a", the tenth, hundredth, and thousands, digits have 10-1=9 options.
So from 0000 to 0999 will have 7 * 9 * 9=567 "a"s.
So from 1000 to 1999 will have no "a"s, because of 1 .
So from 2000 to 2999 will have 7 * 9 * 9=567 more "a"s.
So from 0000 to 2999 we will have 567+567=1143 "a"s.
i
m
p
l
i
e
s
a
1
1
4
3
=
2
9
9
9
.
We need 1153 - 1143=19 more "a"s, coming from 3000.......
From 3000-3009-seven, 3010-3019-none, 3020-3029- seven more, 3030-3039-more seven.
So from 3000-3039 we will have 7 * 3=21 "a"s. But we need only 19.
Eliminating last two numbers from 3000-3039, that is 3039 and 3038,
we get
a
1
1
5
3
=
3
0
3
7
.
Problem Loading...
Note Loading...
Set Loading...
We can't use the digit 1 ?! That means we can only use the digits 0 , 2 , 3 , 4 , 5 , 6 , 7 , 8 and 9 , except in the units place which is even worse, we can't even use the digits 0 and 5 , since the number cannot be a multiple of 5 (see divisibility rules )!
That leaves us with 7 digits left to work with in the units place and 9 digits to work with for the rest, this suggests us to think the number in the units place in base 7 and the rest in base 9 .
To start, given a number a n from the sequence, let's separate the units digit of a n from the other digits, let's call the units digit "quasi-seconds" and the remaining digits "quasi-minutes" (lousy name I know, but bear with me).
Let's now remap the digits of quasi-seconds using this mapping list: 2 3 4 6 7 8 9 → 0 → 1 → 2 → 3 → 4 → 5 → 6
And remap the digits of quasi-minutes using this mapping list: 0 2 3 4 5 6 7 8 9 → 0 → 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8
Notice that after the remapping, the number in quasi-seconds functions just like an ordinary number in base 7 (since we only use the digits from 0 to 6 ), and the number in quasi-minutes functions just like an ordinary number in base 9 (since we only use the digits from 0 to 8 ). Furthermore, just like when measuring time where 6 0 seconds equals 1 minute, 7 quasi-seconds equals 1 quasi-minute .
Awesome, we shall now write the remapped numbers in the form [ quasi-minutes ] 9 ′ [ quasi-seconds ] 7 ′ ′ to represent the original number (the subscript numbers represents its base).
For example, if a n = 2 3 0 5 9 , then it is remapped and rewritten as 1 2 0 4 9 ′ 6 7 ′ ′ , and since we can treat 1 2 0 4 9 and 6 7 as ordinary numbers in their respective bases, we can do some conversions: 1 2 0 4 9 is 8 9 5 in base 10, thus 1 2 0 4 9 ′ 6 7 ′ ′ = 8 9 5 1 0 ′ 6 7 ′ ′ = ( 8 9 5 × 7 + 6 ) 1 0 ′ ′ = 6 2 7 1 1 0 ′ ′ .
What could we do with these remappings and conversions you might ask? Let's remap the first several terms of the sequence and see what we can find:
n 1 2 3 4 5 6 7 8 9 1 0 1 1 1 2 1 3 1 4 1 5 a n 2 3 4 6 7 8 9 2 2 2 3 2 4 2 6 2 7 2 8 2 9 3 2 After remapping and rewriting 0 9 ′ 0 7 ′ ′ 0 9 ′ 1 7 ′ ′ 0 9 ′ 2 7 ′ ′ 0 9 ′ 3 7 ′ ′ 0 9 ′ 4 7 ′ ′ 0 9 ′ 5 7 ′ ′ 0 9 ′ 6 7 ′ ′ 1 9 ′ 0 7 ′ ′ 1 9 ′ 1 7 ′ ′ 1 9 ′ 2 7 ′ ′ 1 9 ′ 3 7 ′ ′ 1 9 ′ 4 7 ′ ′ 1 9 ′ 5 7 ′ ′ 1 9 ′ 6 7 ′ ′ 2 9 ′ 0 7 ′ ′ Equivalent quasi-seconds in base 10 0 1 0 ′ ′ 1 1 0 ′ ′ 2 1 0 ′ ′ 3 1 0 ′ ′ 4 1 0 ′ ′ 5 1 0 ′ ′ 6 1 0 ′ ′ 7 1 0 ′ ′ 8 1 0 ′ ′ 9 1 0 ′ ′ 1 0 1 0 ′ ′ 1 1 1 0 ′ ′ 1 2 1 0 ′ ′ 1 3 1 0 ′ ′ 1 4 1 0 ′ ′
Marvelous! We have now established a pattern:
To figure out a 1 1 5 3 , all we need now is to work backwards.
When a 1 1 5 3 is remapped and rewritten, its equivalent number of quasi-seconds is 1 1 5 2 1 0 ′ ′ . Because 1 1 5 2 = 1 6 4 × 7 + 4 and 1 6 4 is 2 0 2 9 in base 9, ∴ 1 1 5 2 1 0 ′ ′ = 2 0 2 9 ′ 4 7 ′ ′
We now need to undo the mappings of 2 0 2 9 ′ 4 7 ′ ′ (use the mapping lists above with the arrows reversed): 2 0 2 9 ′ 4 7 ′ ′ → 3 0 3 7
Therefore, a 1 1 5 3 = 3 0 3 7 .