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
Harvey P. Dale, Table of n, a(n) for n = 1..1000
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
AUTHOR
STATUS
approved