Starting at a(1)=2, a(n) is the smallest prime larger than a(n-1) such that the sum of odd digits of a(n) is not smaller than the sum of odd digits of a(n-1).

A158085

Starting at a(1)=2, a(n) is the smallest prime larger than a(n-1) such that the sum of odd digits of a(n) is not smaller than the sum of odd digits of a(n-1).

Terms

    a(0) =2a(1) =3a(2) =5a(3) =7a(4) =17a(5) =19a(6) =37a(7) =59a(8) =79a(9) =97a(10) =179a(11) =197a(12) =199a(13) =379a(14) =397a(15) =577a(16) =599a(17) =797a(18) =977a(19) =997a(20) =1979a(21) =1997a(22) =1999a(23) =5779a(24) =7759a(25) =7993a(26) =9199a(27) =9397a(28) =9739a(29) =9973

External references