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!)
A249899 Numbers k such that sigma(k) contains the same digits as k in base 10. 2
1, 69, 211, 258, 270, 276, 433, 609, 639, 787, 877, 1021, 1201, 1231, 1255, 1291, 1321, 1433, 1621, 1721, 1787, 1877, 2011, 2111, 2131, 2141, 2161, 2204, 2311, 2391, 2411, 2556, 2676, 2711, 2931, 3121, 3343, 3409, 3413, 3433, 3463, 3554, 3643, 3678, 3679, 3877 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Supersequence of A115920 and A069216.
LINKS
EXAMPLE
211 is in the sequence because the set of digits of n {1, 2} equals the set of digits of sigma(211) = 212.
MATHEMATICA
Select[Range[4000], Union[IntegerDigits[DivisorSigma[1, #]]] == Union[ IntegerDigits[#]]&] (* Harvey P. Dale, Dec 29 2015 *)
PROG
(Magma) [n: n in [1..10^5] | Set(Intseq(n)) eq Set(Intseq(SumOfDivisors(n)))];
(PARI) isok(n) = Set(digits(n)) == Set(digits(sigma(n))); \\ Michel Marcus, May 27 2018
CROSSREFS
Sequence in context: A211688 A153672 A283053 * A009434 A228671 A115920
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Jan 05 2015
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 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)