cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A348555 Numbers k that divide the sum of the digits of 3^k * k!.

Original entry on oeis.org

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
Offset: 1

Views

Author

Kevin P. Thompson, Oct 21 2021

Keywords

Examples

			9 is a term because the sum of the digits of 3^9 * 9! = 7142567040 is 36 which is divisible by 9.
		

Crossrefs

Programs

  • Mathematica
    Do[If[Mod[Plus @@ IntegerDigits[3^n * n!], n] == 0, Print[n]], {n, 1, 10000}]
  • PARI
    isok(k) = !(sumdigits(3^k * k!) % k);

Extensions

a(36)-a(39) from Martin Ehrenstein, Nov 19 2021
Showing 1-1 of 1 results.