A186776 Stanley Sequence S(0,2).
0, 2, 3, 5, 9, 11, 12, 14, 27, 29, 30, 32, 36, 38, 39, 41, 81, 83, 84, 86, 90, 92, 93, 95, 108, 110, 111, 113, 117, 119, 120, 122, 243, 245, 246, 248, 252, 254, 255, 257, 270, 272, 273, 275, 279, 281, 282, 284, 324, 326, 327, 329, 333, 335, 336, 338, 351, 353, 354, 356, 360, 362, 363, 365, 729, 731, 732, 734, 738, 740
Offset: 1
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..2000
Programs
-
Mathematica
Select[Range[0, 1000], MatchQ[IntegerDigits[#, 3], {(0|1)..., 0|2}]&] (* Jean-François Alcover, Jan 13 2019, after Tanya Khovanova *)
Comments