login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A242263 Numbers that can be written as a sum of numbers using all nonzero decimal digits in descending order. 3
45, 63, 72, 81, 90, 99, 108, 117, 126, 135, 144, 153, 162, 171, 180, 189, 198, 207, 216, 225, 234, 243, 252, 261, 360, 405, 414, 423, 432, 441, 468, 477, 486, 495, 504, 522, 531, 540, 549, 576, 594, 603, 612, 639, 648, 657, 666, 675, 684, 702, 711, 720, 738 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequence is divisible by 9 and contains 208 terms. The first term is 45 = 9+8+...+1, the last term is 98765432+1 = 98765433.
The decomposition is not unique, for example 126= 98+7+6+5+4+3+2+1 = 9+8+76+5+4+3+21.
LINKS
EXAMPLE
666 = 9+87+6+543+21.
MAPLE
g:= proc(i, j) option remember;
`if`(i=j, {10-i}, {parse(cat(seq(10-h, h=i..j))),
seq(seq(seq(x+y, y=g(h+1, j)), x=g(i, h)), h=i..j-1)})
end:
sort([(g(1, 9) minus {987654321})[]])[]; # Alois P. Heinz, May 09 2014
CROSSREFS
Sequence in context: A324367 A140276 A140277 * A242264 A333326 A077646
KEYWORD
nonn,base,fini,full
AUTHOR
Michel Lagneau, May 09 2014
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 23 21:46 EDT 2024. Contains 374575 sequences. (Running on oeis4.)