OFFSET
1,1
COMMENTS
The differences between each of the 4-consecutive primes are multiples of 18. - Harvey P. Dale, Jul 22 2016
EXAMPLE
2288509 is in the sequence because 2288509, 2288527, 2288563, and 2288581 are consecutive primes and the sum of the digits of each = 34
MATHEMATICA
Transpose[Select[Partition[Prime[Range[1000000]], 4, 1], Total[ IntegerDigits[#[[1]]]]==Total[IntegerDigits[#[[2]]]] == Total[ IntegerDigits[#[[3]]]]==Total[IntegerDigits[#[[4]]]]&]][[1]]
Transpose[Select[Partition[Prime[Range[10^6]], 4, 1], Differences[ Total/@ (IntegerDigits/@#)]=={0, 0, 0}&]][[1]] (* Harvey P. Dale, Jul 22 2016 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Harvey P. Dale, Mar 25 2012
STATUS
approved