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.

A254448 a(n) is the smallest nonnegative integer such that a(n)! contains a string of exactly n consecutive 3's.

Original entry on oeis.org

0, 8, 24, 25, 134, 407, 151, 2936, 8040, 26808, 49668, 115189, 429335, 1365981, 3507499
Offset: 0

Views

Author

Martin Y. Champel, Jan 30 2015

Keywords

Examples

			a(1) = 8 since 8! = 40320, which contains '3' and 8 is the smallest integer for which the condition is met.
a(2) = 24 since 24! = 620448401733239439360000 contains '33'.
		

Crossrefs

Programs

  • Mathematica
    A254448[n_] := Module[{m = 0},
       If[n == 0, While[MemberQ[IntegerDigits[m!], 3], m++]; m,
        t = Table[3, n];
        While[! MemberQ[Split[IntegerDigits[m!]], t], m++]; m]];
    Table[A254448[n], {n, 0, 14}] (* Robert Price, Mar 20 2019 *)

Extensions

a(11), a(12) from Jon E. Schoenfield, Feb 20 2015, Feb 24 2015
a(0) prepended by Jon E. Schoenfield, Mar 01 2015
a(13) from Lars Blomberg, Mar 19 2015
a(14) from Bert Dobbelaere, Oct 29 2018