login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A023800
Xenodromes: all digits in base 5 are different.
5
0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 23, 27, 28, 29, 35, 38, 39, 40, 42, 44, 45, 47, 48, 51, 53, 54, 55, 58, 59, 65, 66, 69, 70, 71, 73, 76, 77, 79, 80, 82, 84, 85, 86, 89, 95, 96, 97, 101, 102, 103, 105, 107, 108, 110, 111, 113
OFFSET
1,3
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..261 (full sequence)
MAPLE
A023800 := proc(n) option remember: local d, j, k, inseq: if(n=1)then return 0:fi: for k from procname(n-1)+1 do d:=convert(k, base, 5): inseq:=true: for j from 0 to 4 do if(numboccur(d, j)>=2)then inseq:=false:break: fi: od: if(inseq)then return k: fi: od: end: seq(A023800(n), n=1..66); # Nathaniel Johnston, May 17 2011
MATHEMATICA
Select[Range[0, 3000], Length[b5 = IntegerDigits[#, 5]] == Length[Union[b5]]&] (* Jean-François Alcover, Feb 13 2014 *)
Select[Range[0, 120], Max[DigitCount[#, 5]]==1&] (* Harvey P. Dale, Sep 22 2016 *)
CROSSREFS
Sequence in context: A037918 A043091 A031943 * A320340 A350838 A364347
KEYWORD
nonn,base,fini,full,easy
STATUS
approved