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!)
A151950 a(n) = A151949(n)/9. 12
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 2, 1, 0, 1, 2, 3, 4, 5, 6, 7, 3, 2, 1, 0, 1, 2, 3, 4, 5, 6, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5, 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 6, 5, 4, 3, 2, 1, 0, 1, 2, 3, 7, 6, 5, 4, 3, 2, 1, 0, 1, 2, 8, 7, 6, 5, 4, 3, 2, 1, 0, 1, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 11, 11, 22 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,14
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..10000 (terms 0..1000 from Joseph Myers)
PROG
(PARI) a(n) = my(d=digits(n)); (fromdigits(vecsort(d, , 4)) - fromdigits(vecsort(d)))/9; \\ Michel Marcus, Sep 25 2018
CROSSREFS
In other bases: A164884 (base 2), A164994 (base 3), A165013 (base 4), A165033 (base 5), A165052 (base 6), A165072 (base 7), A165091 (base 8), A165111 (base 9). [From Joseph Myers, Sep 05 2009]
Sequence in context: A040115 A080465 A347689 * A104418 A173528 A245345
KEYWORD
nonn,base,look
AUTHOR
N. J. A. Sloane, Aug 18 2009
EXTENSIONS
Extended by Joseph Myers, Aug 28 2009
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 April 25 19:23 EDT 2024. Contains 371989 sequences. (Running on oeis4.)