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!)
A216393 Number of values of k for which sigma(k)-k is a permutation of decimal digits of k, for k < 2^n. 0
0, 0, 1, 1, 2, 2, 2, 2, 4, 5, 6, 8, 13, 17, 32, 47, 63, 98, 189, 279, 437, 782, 1368, 2062, 3611, 6311, 9674 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = # { k in A085844 | k < 2^n }. - M. F. Hasler, Feb 24 2014
EXAMPLE
a(12) = 8 because the values of k satisfying the condition for k < 2^12 are {6, 28, 411, 496, 604, 1305, 3664, 4086}. - V. Raman, Feb 18 2014
PROG
(PARI) a(n)=sum(k=1, 2^n, vecsort(digits(k)) == vecsort(digits(sigma(k)-k))) \\ Use digits(n)=eval(Vec(Str(n))) in old versions of PARI. - V. Raman, Feb 18 2014, edited by M. F. Hasler, Feb 24 2014
CROSSREFS
Sequence in context: A046768 A363405 A274151 * A045812 A064877 A008363
KEYWORD
nonn,base,more
AUTHOR
V. Raman, Sep 06 2012
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 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)