login
A043311
a(n)=A033005(n)/8.
1
1, 2, 3, 4, 5, 6, 49, 51, 52, 53, 54, 55, 98, 99, 101, 102, 103, 104, 147, 148, 149, 151, 152, 153, 196, 197, 198, 199, 201, 202, 245, 246, 247, 248, 249, 251, 294, 295, 296, 297, 298, 299, 2402, 2403, 2404, 2405, 2406, 2407, 2499
OFFSET
1,2
COMMENTS
Numbers which, written in base 49, have only digits 0 through 6 and no two adjacent digits equal. - M. F. Hasler, Feb 03 2014
PROG
(PARI) is_A043311(n)=(n=[n])&&!until(!n[1], ((n=divrem(n[1], 49))[2]<7 && n[1]%7!=n[2])||return) \\ M. F. Hasler, Feb 03 2014
CROSSREFS
KEYWORD
nonn,base
STATUS
approved