OFFSET
1,1
LINKS
Shyam Sunder Gupta, Table of n, a(n) for n = 1..445
EXAMPLE
5521819 is in the sequence because 5521819, 5521891, 5521927, 5521963 and 5521981 are consecutive primes and the sum of the digits of each = 31.
MATHEMATICA
a = {}; m = 1; s = 1; Do[If[(y = Apply[Plus, IntegerDigits[x = Prime[n]]]) == s , m = m + 1; If[m == 6, AppendTo[a, Prime[n - 5]]], m = 1]; s = y, {n, 2, 100000000}]; a
Select[Partition[Prime[Range[11340000]], 5, 1], Length[Union[Total/@(IntegerDigits/@ #)]] == 1&][[All, 1]] (* Harvey P. Dale, Apr 14 2022 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Shyam Sunder Gupta, Oct 06 2013
STATUS
approved