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.

A046148 Number of n-digit numbers with maximal multiplicative persistence A014553.

This page as a plain text file.
%I A046148 #17 Feb 16 2025 08:32:38
%S A046148 10,1,9,12,20,2430,5229,7448,282852,88200,8015040,200676960,
%T A046148 2701775518,24655323238,15765750,1715313600,59049874884,1112489914536,
%U A046148 14162129381400,135917876094000,1050596838951660,6832549561749912,38554260751029408,193081920969057120
%N A046148 Number of n-digit numbers with maximal multiplicative persistence A014553.
%H A046148 Giovanni Resta, <a href="/A046148/b046148.txt">Table of n, a(n) for n = 1..50</a>
%H A046148 N. J. A. Sloane, <a href="http://neilsloane.com/doc/persistence.html">The persistence of a number</a>, J. Recreational Math., 6 (1973), 97-98.
%H A046148 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/MultiplicativePersistence.html">Multiplicative Persistence.</a>
%t A046148 mper[n_] := Block[{k=0, m=n}, While[m>9, k++; m = Times @@ IntegerDigits@ m]; k]; mxper = {1, 4, 5, 6, 7, 7, 8, 9, 9, 10, 10, 10}; multi[w_] := Total[w]!/Times @@ (w!); a[1]=10; a[n_] := Sum[ Total[ If[ mxper[[n]] == 1 + mper[Times @@ (Range[9]^#)], multi[#], 0] & /@ Permutations[p]], {p, IntegerPartitions[n, {9}, Range[0, n]]}]; Array[a, 12] (* _Giovanni Resta_, Sep 01 2018 *)
%Y A046148 Cf. A014553, A046149, A046150.
%K A046148 nonn,base
%O A046148 1,1
%A A046148 _Eric W. Weisstein_
%E A046148 a(8)-a(12) from _Donovan Johnson_, Mar 30 2010
%E A046148 a(13)-a(24) from _Giovanni Resta_, Aug 31 2018