login
A033002
Every run of digits of n in base 4 has length 2.
4
5, 10, 15, 80, 90, 95, 160, 165, 175, 240, 245, 250, 1285, 1290, 1295, 1440, 1445, 1455, 1520, 1525, 1530, 2565, 2570, 2575, 2640, 2650, 2655, 2800, 2805, 2810, 3845, 3850, 3855, 3920, 3930, 3935, 4000, 4005, 4015, 20560
OFFSET
1,1
COMMENTS
See A043291 and A033001 through A033014 for the analog in other bases, A033015 - A033029 for the variants with run lengths >= 2. - M. F. Hasler, Feb 04 2014
LINKS
FORMULA
a(n) = 5*A043308(n) (= 5*n for n<4). - M. F. Hasler, Feb 04 2014
MATHEMATICA
Select[Range[10000], Union[Length/@Split[IntegerDigits[#, 4]]]=={2}&] (* Vincenzo Librandi, Feb 05 2014 *)
CROSSREFS
Sequence in context: A020332 A244025 A044830 * A244021 A351899 A313818
KEYWORD
nonn,base
STATUS
approved