Professional Documents
Culture Documents
9/2/2013
______________________________________________________________________________
Stifled Numbers are numbers whose digits add up to its base. So there can be no
single digit stifled number in any base. In base ten the set 2s10 has 9 two
digit stifled numbers:
2s10 = {19, 28, 37, 46, 55, 64, 73, 82, 91}
The set 3s10 has 54 three digit stifled numbers in base ten:
3s10 = {109,
208,
307,
406,
505,
604,
703,
802,
901,
118,
217,
316,
415,
514,
613,
712,
811,
910}
127,
226,
325,
424,
523,
622,
721,
820,
136,
235,
334,
433,
532,
631,
730,
145,
244,
343,
442,
541,
640,
154,
253,
352,
451,
550,
19
28
36
43
49
54
58
61
63
The set 4s10 has 218 four digit stifled numbers in base ten:
4s10 = {1009,
1108,
1207,
1306,
1405,
1504,
1603,
1702,
1801,
1900,
2008,
2107,
2206,
2305,
2404,
2503,
2602,
2701,
2800,
3007,
3106,
3205,
3304,
3403,
3502,
3601,
3700,
4006,
4105,
4204,
4303,
4402,
4501,
4600,
1018,
1117,
1216,
1315,
1414,
1513,
1612,
1711,
1810,
1027,
1126,
1225,
1324,
1423,
1522,
1621,
1720,
1036,
1135,
1234,
1333,
1432,
1531,
1630,
1045,
1144,
1243,
1342,
1441,
1540,
1054,
1153,
1252,
1351,
1450,
2017,
2116,
2213,
2314,
2413,
2512,
2611,
2710,
2026,
2125,
2224,
2323,
2422,
2521,
2620,
2035,
2134,
2233,
2332,
2431,
2530,
2044,
2143,
2242,
2341,
2440,
3016,
3015,
3214,
3313,
3412,
3511,
3610,
3025,
3024,
3223,
3322,
3421,
3520,
3034,
3033,
3232,
3331,
3430,
4015,
4114,
4213,
4312,
4411,
4510,
4024,
4123,
4222,
4321,
4420,
73
82
90
97
103
108
112
115
117
118
127
135
142
148
153
157
160
162
163
171
178
184
189
193
196
198
199
206
212
217
221
224
226
227
5005,
5104,
5203,
5302,
5401,
5500,
6004,
6103,
6202,
6301,
7003,
7102,
7201,
7300,
8002,
8101,
8200,
9001,
9100}
5014,
5113,
5212,
5311,
5410,
6013,
6112,
6211,
6310,
7012,
7111,
7210,
8011, 8020,
8110,
9010,
233
238
242
245
247
248
253
257
260
262
266
269
271
272
275
277
278
280
281
So from the above we can see that there are 281 base 10 stifled digits less than
10000.
Greater Stifled Numbers
Greater Stifled Numbers are numbers whose digits add up to a value greater than
its base.
In base ten the set 2s>10 has 36 two digit greater stifled numbers:
2s>10 = {29,
38, 39,
47, 48,
56, 57,
65, 66,
74, 75,
83, 84,
92, 93,
49,
58,
67,
76,
85,
94,
59,
68,
77,
86,
95,
69,
78, 79,
87, 88, 89,
96, 97, 98, 99}
2^1
2
2^2
4
2^3
8
2^4
16
2^5
32
2^6
64
2^7
128
s2
nth
1
1
0
1
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
1
0
1
0
1
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
0
1
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
1
0
0
0
1
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
3
5
6
9
10
12
17
18
20
24
33
34
36
40
48
65
66
68
72
80
96
129
130
132
136
144
160
192
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
n
Stifled
Numbers
______________________________________________________________________________
1
2
{NULL}
{NULL}
0
0
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{2}
{NULL}
{2,3}
{2}
{3,4}
{NULL}
{2,5}
{2,4}
{3,6}
{2}
{3,4,5,7}
{NULL}
{3,8}
{6}
{2,5,9}
{2}
{3,4,7,10}
{2}
{3,5,6,11}
{4,8}
{12}
{2}
{4,7,9,13}
{6}
{14}
{4,10}
{3,5,8,15}
{NULL}
{3,6,7,11,16}
{NULL}
{2,3,5,9,17}
{2,4,12}
{18}
{2,8}
{3,4,5,7,10,13,19}
{NULL}
{3,20}
{2,4,14}
{4,6,9,11,21}
{NULL}
{7,8,15,22}
{NULL}
{3,5,12,23}
{6,10,26}
{24}
{2,25}
{4,9,13,17}
{8}
{6,11,26}
{4,18}
{5,14,27}
{NULL}
{3,7,10,19,28}
{6,12}
{3,5,8,9,15,29}
{20}
{30}
{NULL}
{5,6,7,11,13,16,21,31}
{NULL}
11
101,12
110
21,13
1001,14
1010,22
102,15
1100
111,31,23,16
120,17
24
10001,32,18
10020
201,103,25,19
10100
210,41,33,1(10)
112,26
1(11)
11000
121,34,27,1(12)
42
1(13)
130,28
1002,104,35,1(14)
1011,51,43,29,1(15)
10001,1020,113,36,1(16)
10010,202,2(10)
1(17)
100100,44
1101,211,122,52,37,2(11),1(18)
1110,1(19)
101000,220,2(12)
131,105,45,38,1(20)
61,53,2(13),1(21)
1200,140,39,1(22)
114,46,2(14)
1(23)
110000,1(24)
301,54,3(10),2(15)
62
123,47,1(25)
310,2(16)
203,3(11),1(26)
2001,106,55,2(17),1(27)
132,48
2010,212,71,63,3(12),1(28)
2(18)
1(29)
221,141,115,56,49,3(13),2(19),1(30)
-
1
0
2
1
2
0
2
2
2
1
4
0
2
1
3
1
4
1
4
2
1
1
4
1
1
2
4
0
5
0
5
3
1
2
7
0
2
3
5
0
4
0
4
3
1
2
4
1
3
2
3
0
5
2
6
1
1
0
8
0
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{3,32}
{10,22}
{2,5,9,17,33}
{2,6,14}
{4,7,12,23,34}
{2}
{18,35}
{4,24}
{8,11,15,36}
{2}
{4,7,9,10,13,19,25,37}
{NULL}
{38}
{4,6,16,26}
{5,20,39}
{8,12}
{7,14,27,40}
{2}
{5,6,11,17,21,41}
{4,10,28}
{3,42}
{NULL}
{3,4,5,7,8,13,
15,22,29,43}
{6,18}
{3,44}
{4,30}
{9,12,23,45}
{NULL}
{3,6,7,10,11,16,
19,24,31,46}
{8,14}
{3,24,47}
{32}
{48}
{2,6,20}
{4,9,13,17,25,33,49}
{NULL}
{3,8,15,50}
{4,12,34}
2100,1(31)
64,2(20)
1000001,230,72,3(14),1(32)
1000010,150,4(10)
1003,124,57,2(21),1(33)
1000100
3(15),1(34)
1012,2(22)
107,65,4(11),1(35)
1001000
1021,133,81,73,58,3(16),2(23),1(36)
1(37)
1030,204,4(12),2(24)
302,3(17),1(38)
116,66
142,59,2(25),1(39)
1010000
311,213,74,4(13),3(18)1(40)
1102,82,2(26)
10002,1(41)
10011,1111,320,151,125,67,
5(10),3(19),2(27),1(42)
222,4(14)
10020,1(43)
1120,2(28)
108,75,3(20),1(44)
10101;231,160,91,83,5(11),
4(15),3(21),2(29),1(45)
134,68
10110,3(21),1(46)
2(30)
1(47)
1100000,240,4(16)
1201,117,76,5(12),3(22),2(31),1(48)
10200,143,69,1(49)
1210,84,2(32)
2
2
5
3
5
1
2
2
4
1
8
0
1
4
3
2
4
1
6
3
2
0
10
2
2
2
4
0
10
2
3
1
1
3
7
0
4
3
__________________________________________________________________________
The html file below was used to find the stifled numbers in their various
bases above.
(Change the value of B to change the base, which is currently set to binary)
__________________________________________________________________________
<!DOCTYPE HTML PUBLIC " - //W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>A for loop</title>
</head>
<body>
<script type="text/javascript" language="javascript">
document.write("<h3>The 6 digit base B numbers = B<h3>")
B=2;
u=0;
v=B-1;
for (a = u; a <= v;
{
for (b = u;
{
for
{
for (d = u; d <= v;
{
for (e = u;
{
for
{
a++)
b <= v; b++)
(c = u; c <= v; c++)
d++)
e <= v; e++)
(f = u; f <= v; f++)
if(a + b + c + d + e + f == B)
{
document.write(a,b,c,d,e,f," = ",
B*B*B*B*B*a + B*B*B*B*b + B*B*B*c + B*B*d + B*e + f ,"<br />");
}
}
}
}
}
}
}
</script>
</body>
</html>