|
Search: id:A102674
|
|
|
| A102674 |
|
Number of digits >= 4 in the decimal representations of all integers from 0 to n. |
|
+0 1
|
|
| 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 6, 6, 6, 6, 7, 8, 9, 10, 11, 12, 12, 12, 12, 12, 13, 14, 15, 16, 17, 18, 18, 18, 18, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 34, 36, 38, 40, 41, 42, 43, 44, 46, 48, 50, 52, 54, 56, 57, 58, 59, 60, 62, 64, 66, 68, 70, 72, 73, 74, 75, 76, 78
(list; graph; listen)
|
|
|
OFFSET
|
0,6
|
|
|
MAPLE
|
p:=proc(n) local b, ct, j: b:=convert(n, base, 10): ct:=0: for j from 1 to nops(b) do if b[j]>=4 then ct:=ct+1 else ct:=ct fi od: ct: end:seq(add(p(i), i=0..n), n=0..90); (Deutsch)
|
|
CROSSREFS
|
Partial sums of A102673.
Sequence in context: A101272 A006160 A071640 this_sequence A097623 A069754 A097622
Adjacent sequences: A102671 A102672 A102673 this_sequence A102675 A102676 A102677
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com), Feb 03 2005
|
|
EXTENSIONS
|
More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Feb 22 2005
|
|
|
Search completed in 0.002 seconds
|