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.

A064867 The minimal number which has multiplicative persistence 3 in base n.

Original entry on oeis.org

26, 63, 68, 23, 27, 31, 35, 39, 43, 46, 50, 54, 58, 62, 66, 69, 73, 77, 81, 85, 89, 92, 96, 100, 104, 108, 112, 115, 119, 123, 127, 131, 135, 138, 142, 146, 150, 154, 158, 161, 165, 169, 173, 177, 181, 184, 188, 192
Offset: 3

Views

Author

Sascha Kurz, Oct 08 2001

Keywords

Comments

The persistence of a number is the number of times you need to multiply the digits together before reaching a single digit.

Examples

			a(3) = 26 because 26 = [222]->[22]->[11]->[1] and no fewer n has persistence 3 in base 3.
		

Crossrefs

Programs

  • Mathematica
    With[{m = 3}, Table[Block[{k = 1}, While[Length@ FixedPointList[Times @@ IntegerDigits[#, n] &, k, 100] != m + 2, k++]; k], {n, 3, 5}]]~Join~Array[4 # - Floor[#/6] &, 45, 6] (* Michael De Vlieger, Aug 30 2021 *)

Formula

a(n) = 4*n-floor(n/6) for n > 5.
From Chai Wah Wu, Mar 07 2025: (Start)
a(n) = a(n-1) + a(n-6) - a(n-7) for n > 12.
G.f.: x^3*(48*x^9 - x^8 - 33*x^7 - 22*x^6 + 4*x^5 + 4*x^4 - 45*x^3 + 5*x^2 + 37*x + 26)/(x^7 - x^6 - x + 1). (End)