|
|
A158084
|
|
Prime numbers, with a(1)=2, a(n+1) = least prime such that (sum of even digits of a(n)) < (sum of even digits of a(n+1)).
|
|
0
|
|
|
2, 41, 61, 83, 281, 487, 683, 881, 2887, 4889, 6883, 8887, 46889, 48883, 68881, 88883, 468883, 688861, 688889, 888887, 2888887, 4888889, 8868887, 28886881, 28888883, 48888887, 88888867, 88888883, 288888889, 668888887, 688888883, 888888883
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
f[n_] := Block[{m = Total@ Select[ IntegerDigits@ n, EvenQ], p = 2}, While[ Total@ Select[ IntegerDigits@ p, EvenQ] <= m, p = NextPrime@ p]; p]; NestList[f, 2, 31] (* Robert G. Wilson v, Jun 23 2014 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Missing values 683 and 8887 inserted and extended by D. S. McNeil, Dec 10 2009
|
|
STATUS
|
approved
|
|
|
|