login
Katadromes: digits in base 7 are in strict descending order.
1

%I #16 Jun 10 2019 23:08:24

%S 0,1,2,3,4,5,6,7,14,15,21,22,23,28,29,30,31,35,36,37,38,39,42,43,44,

%T 45,46,47,105,154,161,162,203,210,211,217,218,219,252,259,260,266,267,

%U 268,273,274,275,276,301,308,309,315,316,317,322,323,324,325

%N Katadromes: digits in base 7 are in strict descending order.

%C There are 127 terms in this sequence, the last of which is 800667. - _Harvey P. Dale_, Apr 24 2016

%H Harvey P. Dale, <a href="/A023789/b023789.txt">Table of n, a(n) for n = 1..127</a>

%t Select[Range[0,400],Max[Differences[IntegerDigits[#,7]]]<0&] (* or *) Rest[FromDigits[#,7]&/@Select[Flatten[Permutations/@Subsets[ Range[ 0,6],7],1],Max[ Differences[#]]<0&]] (* _Harvey P. Dale_, Apr 24 2016 *)

%K nonn,base,fini,full,easy

%O 1,3

%A _Olivier GĂ©rard_