Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A109657
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A109657 Numbers n such that the sum of the digits of sum_{k=1..n}(k!) is divisible by n. +0
1
1, 3, 6, 9, 12, 18, 54, 117, 272, 294, 296, 320, 783, 1125, 2088, 3375 (list; graph; listen)
OFFSET

1,2

COMMENT

Next term after 3375 is greater than 10000. Most, but not all, of the terms in this sequence are divisible by 3; is this a coincidence?

EXAMPLE

sum_{k=1..12}(k!) = 522956313; the digits of 522956313 sum to 36, which is divisible by 12, so 12 is in the sequence.

MATHEMATICA

s = 0; Do[s += n!; k = Plus @@ IntegerDigits[s]; If[Mod[k, n] == 0, Print[n]], {n, 1, 10000}]

CROSSREFS

Sequence in context: A063996 A065119 A092421 this_sequence A118519 A089757 A083491

Adjacent sequences: A109654 A109655 A109656 this_sequence A109658 A109659 A109660

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 August 28 11:49 EDT 2008. Contains 143094 sequences.


AT&T Labs Research