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.

A209191 Numbers n such that digital root of n equals smallest prime factor of n.

Original entry on oeis.org

2, 3, 5, 7, 20, 21, 38, 39, 56, 57, 74, 75, 92, 93, 95, 110, 111, 128, 129, 133, 146, 147, 164, 165, 182, 183, 185, 200, 201, 218, 219, 236, 237, 254, 255, 259, 272, 273, 275, 290, 291, 308, 309, 326, 327, 344, 345, 362, 363, 365, 380, 381, 398
Offset: 1

Views

Author

N. J. A. Sloane, Mar 05 2012

Keywords

Programs

  • Mathematica
    drspfQ[n_]:=NestWhile[Total[IntegerDigits[#]]&,n,#>9&] == FactorInteger[ n][[1,1]]; Select[Range[2,400],drspfQ] (* Harvey P. Dale, Nov 11 2017 *)

Extensions

Prior Mathematica program replaced by Harvey P. Dale, Nov 11 2017