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.

A244559 Numbers obtained by concatenating the squares of the digits of n!.

Original entry on oeis.org

1, 4, 36, 416, 140, 4940, 250160, 160940, 936464640, 9364646400, 981811366400, 1649810013600, 3644490406400, 6449149644811400, 1904936491693664000, 408144496481646464000, 925253664491646408136000, 36160494994902549464000, 141361625100160646494000
Offset: 1

Views

Author

Vincenzo Librandi, Jul 03 2014

Keywords

Examples

			For n = 7, 7! = 5040 and a(7) = 250160, which is the concatenation of the squares of the digits of 5040. For n=8, 8! = 40320 and a(8) = 160940.
		

Crossrefs

Programs

  • Magma
    [StringToInteger(&cat[IntegerToString(h): h in Reverse([i^2: i in Intseq(Factorial(n))])]): n in [1..50]];
  • Mathematica
    Table[FromDigits[Flatten[IntegerDigits/@(IntegerDigits[n!]^2)]],{n,20}] (* Harvey P. Dale, Sep 07 2025 *)

Formula

a(n) = A048385(A000142(n)). - Michel Marcus, Jul 04 2014