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.

A067954 Primes related to the nondecreasing subsequence of A007605 (sums of digits of primes).

Original entry on oeis.org

2, 3, 5, 7, 17, 19, 29, 47, 59, 79, 89, 179, 197, 199, 379, 389, 479, 499, 599, 797, 887, 977, 997, 1699, 1789, 1879, 1889, 1979, 1997, 1999, 2999, 3989, 4799, 4889, 4999, 6899, 8699, 8969, 8999, 18899, 19889, 19979, 19997
Offset: 1

Views

Author

Reinhard Zumkeller, Mar 10 2002

Keywords

Comments

a(1)=2; a(n+1) is the smallest prime with sum of digits >= sum of digits of a(n).

Crossrefs

Programs

  • Mathematica
    t = {s = 2}; Do[If[(y = Total[IntegerDigits[x = Prime[n]]]) >= s, AppendTo[t, x]; s = y], {n, 2, 2500}]; t (* Jayanta Basu, Aug 10 2013 *)