A033003 Every run of digits of n in base 5 has length 2.
6, 12, 18, 24, 150, 162, 168, 174, 300, 306, 318, 324, 450, 456, 462, 474, 600, 606, 612, 618, 3756, 3762, 3768, 3774, 4050, 4056, 4068, 4074, 4200, 4206, 4212, 4224, 4350, 4356, 4362, 4368, 7506, 7512, 7518, 7524, 7650, 7662
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[Range[10000],Union[Length/@Split[IntegerDigits[#, 5]]]=={2}&] (* Vincenzo Librandi, Feb 05 2014 *)
Formula
a(n) = 6*A043309(n) (= 6*n for n<5). - M. F. Hasler, Feb 02 2014
Comments