Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109676
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109676 Numbers n such that the sum of the digits of (n! - 1) is divisible by n. +0
1
1, 25, 68, 269, 427, 1996, 5405, 42511, 42862 (list; graph; listen)
OFFSET

1,2

COMMENT

Next term after 42862 is greater than 100,000.

EXAMPLE

The digits of 5405! - 1 sum to 86480, and 86480 is divisible by 5405, so 5405 is in the sequence.

MATHEMATICA

Do[k = n! - 1; s = Plus @@ IntegerDigits[k]; If[Mod[s, n] == 0, Print[n]], {n, 1, 10^5}]

CROSSREFS

Sequence in context: A033682 A020283 A137186 this_sequence A087239 A032653 A063308

Adjacent sequences: A109673 A109674 A109675 this_sequence A109677 A109678 A109679

KEYWORD

base,hard,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 November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research