OFFSET
1,1
LINKS
R. L. Shepherd, Table of n, a(n) for n=1..1000
Chris Caldwell, The First 1000 Primes
EXAMPLE
3137 is a prime number where the last digit is the sum of all the previous digits.
MATHEMATICA
Select[Prime[Range[3000]], Last[IntegerDigits[#]]==Total[ Most[ IntegerDigits[ #]]]&] (* Harvey P. Dale, Jan 30 2014 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Parthasarathy Nambi, Feb 11 2009
EXTENSIONS
Extended and 11 added by Rick L. Shepherd, Feb 12 2009
STATUS
approved