Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109662
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109662 Numbers n such that the sum of the digits of (n^n - n!) is divisible by n. +0
1
1, 2, 3, 9, 14, 15, 29, 33, 45, 81, 102, 105, 126, 142, 157, 288, 414, 1184, 2133 (list; graph; listen)
OFFSET

1,2

COMMENT

Next term after 2133 is greater than 10000.

EXAMPLE

The digits of 414^414 - 414! sum to 4968 and 4968 is divisible by 414, so 414 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: A123859 A048744 A057293 this_sequence A116222 A048038 A113501

Adjacent sequences: A109659 A109660 A109661 this_sequence A109663 A109664 A109665

KEYWORD

base,more,nonn

AUTHOR

Ryan Propper (rpropper(AT)stanford.edu), Aug 06 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 19 12:50 EST 2009. Contains 171053 sequences.


AT&T Labs Research