|
Search: id:A092455
|
|
|
| A092455 |
|
Numbers that either contain the digit 6 or are divisible by 6. |
|
+0 1
|
|
| 0, 6, 12, 16, 18, 24, 26, 30, 36, 42, 46, 48, 54, 56, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 72, 76, 78, 84, 86, 90, 96, 102, 106, 108, 114, 116, 120, 126, 132, 136, 138, 144, 146, 150, 156, 160, 161, 162, 163, 164, 165, 167, 168, 169, 174, 176, 180, 186, 192, 196
(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, 6)==0 || a(j, 6)==1, print1(j, ", ")))
|
|
CROSSREFS
|
Cf. A092433, A092451-A092457.
Sequence in context: A106420 A081535 A013637 this_sequence A118422 A106504 A114061
Adjacent sequences: A092452 A092453 A092454 this_sequence A092456 A092457 A092458
|
|
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
|