login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A032907 Numbers n such that base 10 representation Sum{d(i)*10^i: i=0,1,...,m} has d(0) <= d(1) >= d(2) <= ... 6

%I

%S 1,2,3,4,5,6,7,8,9,10,11,20,21,22,30,31,32,33,40,41,42,43,44,50,51,52,

%T 53,54,55,60,61,62,63,64,65,66,70,71,72,73,74,75,76,77,80,81,82,83,84,

%U 85,86,87,88,90,91,92,93,94,95,96,97,98,99,110,111,120

%N Numbers n such that base 10 representation Sum{d(i)*10^i: i=0,1,...,m} has d(0) <= d(1) >= d(2) <= ...

%H David A. Corneth, <a href="/A032907/b032907.txt">Table of n, a(n) for n = 1..5343</a> (all terms < 20000)

%o (PARI) is(n)=my(d=digits(n));r=1;forstep(i=#d,2,-1,if((-1)^(#d-i)*d[i]>(-1)^(#d-i)*d[i-1],r=0;break));r \\ _David A. Corneth_, Feb 01 2015

%Y Differs from A032873 and A009996.

%K nonn,base

%O 1,2

%A _Clark Kimberling_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 19:07 EDT 2019. Contains 323528 sequences. (Running on oeis4.)