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.

A046500 Smallest prime with multiplicative persistence n.

Original entry on oeis.org

2, 11, 29, 47, 277, 769, 8867, 186889, 2678789, 26899889, 3778888999, 277777788888989
Offset: 0

Views

Author

Patrick De Geest, Sep 15 1998

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

			47 -> 28 -> 16 -> 6 has persistence 3.
		

Crossrefs

Programs

  • Mathematica
    a[n_]:=Length[NestWhileList[Times@@IntegerDigits[#]&,n,#>9&]]-1; t={}; i=1; Do[While[a[p=Prime[i]]!=n,i++]; AppendTo[t,p],{n,0,9}]; t (* Jayanta Basu, Jun 02 2013 *)

Extensions

a(10)-a(11) found by Jud McCranie