[go: up one dir, main page]

login
A043308
a(n)=A033002(n)/5.
2
1, 2, 3, 16, 18, 19, 32, 33, 35, 48, 49, 50, 257, 258, 259, 288, 289, 291, 304, 305, 306, 513, 514, 515, 528, 530, 531, 560, 561, 562, 769, 770, 771, 784, 786, 787, 800, 801, 803, 4112, 4114, 4115, 4128, 4129, 4131, 4144, 4145
OFFSET
1,2
COMMENTS
Also: Numbers which, written in base 16, have all digits less than 4 and no two adjacent digits equal. - M. F. Hasler, Feb 03 2014
PROG
(PARI) is_A043308(n)=(n=[n])&&!until(!n[1], ((n=divrem(n[1], 16))[2]<4 && n[1]%4!=n[2])||return) \\ M. F. Hasler, Feb 03 2014
CROSSREFS
KEYWORD
nonn,base
STATUS
approved