login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A001746
At least one digit contains a loop (version 1).
5
0, 6, 8, 9, 10, 16, 18, 19, 20, 26, 28, 29, 30, 36, 38, 39, 40, 46, 48, 49, 50, 56, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 76, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105
OFFSET
1,2
COMMENTS
A 10-automatic sequence: contains at least one 0, 6, 8, or 9 in decimal. - Charles R Greathouse IV, Feb 11 2017
FORMULA
a(n) = n + O(n^k) where k = log 6/log 10 = 0.77815.... - Charles R Greathouse IV, Feb 11 2017
MATHEMATICA
Select[Range[0, 200], Length[Intersection[{0, 6, 8, 9}, Union[IntegerDigits[#]]]] > 0 &] (* T. D. Noe, Aug 10 2012 *)
PROG
(PARI) is(n)=n==0 || !!#setintersect(Set(digits(n)), [0, 6, 8, 9]) \\ Charles R Greathouse IV, Feb 11 2017
CROSSREFS
Sequence in context: A102106 A175821 A074845 * A025070 A123704 A045574
KEYWORD
base,nonn,easy
STATUS
approved