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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A242264 Numbers that can be written as a sum of numbers using all nonzero decimal digits in descending order and also all nonzero decimal digits in ascending order. 0
 45, 63, 72, 81, 90, 99, 108, 117, 126, 135, 144, 153, 162, 171, 180, 189, 198, 207, 216, 225, 234, 252, 261, 432, 441, 486, 495, 504, 549, 576, 594, 603, 612, 666, 675, 684, 702, 711, 720, 738, 756, 783, 810, 819, 828, 846, 873, 891, 927, 963, 972, 1035, 1044, 1080, 1260, 1323, 1368, 1377 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS a(n) = {A242226} intersection {A242263}. The sequence is divisible by 9 and contains 58 terms. LINKS EXAMPLE 666 = 1+2+3+4+567+89 = 9+87+6+543+21. MAPLE g:= proc(i, j, t) option remember; `if`(i=j, {`if`(t=1, i, 10-i)},       {parse(cat(seq(`if`(t=1, h, 10-h), h=i..j))), seq(seq(        seq(x+y, y=g(h+1, j, t)), x=g(i, h, t)), h=i..j-1)})     end: sort([(g(1, 9, 1) intersect g(1, 9, 0))[]])[]; # Alois P. Heinz, May 09 2014 CROSSREFS Cf. A008591, A242226, A242263. Sequence in context: A140276 A140277 A242263 * A333326 A077646 A230577 Adjacent sequences:  A242261 A242262 A242263 * A242265 A242266 A242267 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.

Last modified August 10 04:27 EDT 2022. Contains 356029 sequences. (Running on oeis4.)