A033002 Every run of digits of n in base 4 has length 2.
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
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..600
Programs
-
Mathematica
Select[Range[10000], Union[Length/@Split[IntegerDigits[#, 4]]]=={2}&] (* Vincenzo Librandi, Feb 05 2014 *)
Formula
a(n) = 5*A043308(n) (= 5*n for n<4). - M. F. Hasler, Feb 04 2014
Comments