|
|
A333656
|
|
Numbers having at least one 5 in their representation in base 6.
|
|
13
|
|
|
5, 11, 17, 23, 29, 30, 31, 32, 33, 34, 35, 41, 47, 53, 59, 65, 66, 67, 68, 69, 70, 71, 77, 83, 89, 95, 101, 102, 103, 104, 105, 106, 107, 113, 119, 125, 131, 137, 138, 139, 140, 141, 142, 143, 149, 155, 161, 167, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
22 is not in the sequence since it is 34_6 in base 6, but 23 is in the sequence since it is 35_6 in base 6.
|
|
MAPLE
|
seq(`if`(numboccur(5, convert(n, base, 6))>0, n, NULL), n=0..100);
|
|
MATHEMATICA
|
Select[ Range[ 0, 100 ], (Count[ IntegerDigits[ #, 6 ], 5 ]>0)& ]
|
|
PROG
|
(PARI) isok(m) = #select(x->(x==5), digits(m, 6)) >= 1;
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|