|
Search: id:A102670
|
|
|
| A102670 |
|
Number of digits >=2 in the decimal representations of all integers from 0 to n. |
|
+0 1
|
|
| 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 22, 24, 26, 28, 30, 32, 34, 35, 36, 38, 40, 42, 44, 46, 48, 50, 52, 53, 54, 56, 58, 60, 62, 64, 66, 68, 70, 71, 72, 74, 76, 78, 80, 82, 84, 86, 88, 89, 90, 92, 94, 96, 98, 100, 102, 104, 106, 107, 108
(list; graph; listen)
|
|
|
OFFSET
|
0,4
|
|
|
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]>=2 then ct:=ct+1 else ct:=ct fi od: ct: end: seq(add(p(i), i=0..n), n=0..77); (Deutsch)
|
|
CROSSREFS
|
Partial sums of A102669.
Sequence in context: A110011 A138718 A108922 this_sequence A079631 A160755 A017873
Adjacent sequences: A102667 A102668 A102669 this_sequence A102671 A102672 A102673
|
|
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 23 2005
|
|
|
Search completed in 0.002 seconds
|