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!)
A216386 Number of values of k for which sigma(k)-k is a permutation of decimal digits of k, for 10^(n-1) < k < 10^n. 0
1, 1, 3, 10, 40, 215, 1224, 6587, 3387628, 50507498 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = # { k in A085844 | 10^(n-1) < k < 10^n }. - M. F. Hasler, Feb 24 2014
EXAMPLE
a(3) = 3 because the values of k satisfying the condition for 10^2 < k < 10^3 are {411, 496, 604}. - V. Raman, Feb 17 2014
PROG
(PARI) a(n)=sum(k=10^(n-1), 10^n, vecsort(digits(k)) == vecsort(digits(sigma(k)-k))) \\ V. Raman, Feb 17 2014, based on edits by M. F. Hasler
CROSSREFS
Sequence in context: A030911 A009374 A297213 * A256157 A137781 A208125
KEYWORD
nonn,base,more
AUTHOR
V. Raman, Sep 06 2012
EXTENSIONS
a(9)-a(10) from Lars Blomberg, Jan 23 2016
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 23 07:57 EDT 2024. Contains 371905 sequences. (Running on oeis4.)