|
Search: id:A092457
|
|
|
| A092457 |
|
Numbers that either contain the digit 9 or are divisible by 9. |
|
+0 8
|
|
| 0, 9, 18, 19, 27, 29, 36, 39, 45, 49, 54, 59, 63, 69, 72, 79, 81, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 108, 109, 117, 119, 126, 129, 135, 139, 144, 149, 153, 159, 162, 169, 171, 179, 180, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 207, 209, 216, 219
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
PROGRAM
|
(PARI) ll(n)=length(Str(n)) f(n, m)=(n%10^(ll(n)-m) - n%10^(ll(n)-m-1))/10^(ll(n)-m-1) a(n, m)=s=0; for(i=0, ll(n), if(f(n, i)==m, s=s+1, s=s)); return(s) for (j=0, 300, if(Mod(j, 9)==0 || a(j, 9)==1, print1(j, ", ")))
|
|
CROSSREFS
|
Cf. A092433, A092451-A092456.
Sequence in context: A034728 A060993 A107977 this_sequence A062057 A015785 A046412
Adjacent sequences: A092454 A092455 A092456 this_sequence A092458 A092459 A092460
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
njas, Mar 24 2004
|
|
EXTENSIONS
|
More terms from Mohammed Bouayoun (bouyao(AT)wanadoo.fr), Mar 25 2004
|
|
|
Search completed in 0.002 seconds
|