|
Search: id:A109663
|
|
|
| A109663 |
|
Numbers n such that the sum of the digits of (n^n + n!) is divisible by n. |
|
+0 1
|
|
| 1, 2, 3, 9, 15, 18, 27, 36, 51, 81, 93, 169, 181, 348, 444, 504, 528, 1881, 2031, 9843
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
EXAMPLE
|
The digits of 1881^1881 + 1881! sum to 28215, and 28215 is divisible by 1881, so 1881 is in the sequence.
|
|
MATHEMATICA
|
Do[s = n^n + n!; k = Plus @@ IntegerDigits[s]; If[Mod[k, n] == 0, Print[n]], {n, 1, 10000}]
|
|
CROSSREFS
|
Sequence in context: A083303 A078610 A108825 this_sequence A056702 A091361 A092352
Adjacent sequences: A109660 A109661 A109662 this_sequence A109664 A109665 A109666
|
|
KEYWORD
|
base,more,nonn
|
|
AUTHOR
|
Ryan Propper (rpropper(AT)stanford.edu), Aug 06 2005
|
|
|
Search completed in 0.002 seconds
|