The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A348555 Numbers k that divide the sum of the digits of 3^k * k!. 0
1, 3, 9, 27, 72, 111, 129, 148, 161, 450, 762, 1233, 1260, 2052, 9153, 15840, 16067, 16302, 16317, 16332, 16435, 74670, 74946, 125046, 208566, 347670, 347685, 583263, 1609667, 1610942, 1616476, 1616532, 1616958, 2683143, 2700261, 4480092, 7469682, 7470432, 7492497 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
9 is a term because the sum of the digits of 3^9 * 9! = 7142567040 is 36 which is divisible by 9.
MATHEMATICA
Do[If[Mod[Plus @@ IntegerDigits[3^n * n!], n] == 0, Print[n]], {n, 1, 10000}]
PROG
(PARI) isok(k) = !(sumdigits(3^k * k!) % k);
CROSSREFS
Sequence in context: A036215 A103828 A110740 * A042938 A206604 A084707
KEYWORD
nonn,base,hard
AUTHOR
Kevin P. Thompson, Oct 21 2021
EXTENSIONS
a(36)-a(39) from Martin Ehrenstein, Nov 19 2021
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 May 18 18:37 EDT 2024. Contains 372664 sequences. (Running on oeis4.)