[go: up one dir, main page]

login
A043317
a(n)=A033011(n)/14.
2
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 169, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 338, 339, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 507, 508, 509, 511, 512, 513, 514, 515, 516, 517, 518, 519, 676, 677, 678
OFFSET
1,2
COMMENTS
Also: Numbers which, written in base 169, have all digits less than 13 and no two adjacent digits equal. - M. F. Hasler, Feb 03 2014
LINKS
MATHEMATICA
Select[Range[700], Max[IntegerDigits[#, 169]]<13&&SequenceCount[ IntegerDigits[ #, 169], {x_, x_}]==0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 07 2018 *)
PROG
(PARI) is_A043317(n)=(n=[n])&&!until(!n[1], ((n=divrem(n, 169))[2]<13 && n[2]!=n[1]%13)||return) \\ M. F. Hasler, Feb 03 2014
CROSSREFS
KEYWORD
nonn,base
STATUS
approved