OFFSET
1,1
LINKS
Jaroslav Krizek, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Prime[Range[600]], Mean[IntegerDigits[#]]==4&] (* Harvey P. Dale, Jun 11 2024 *)
PROG
(Magma) [n: n in [1..100000] | IsPrime(n) and &+Intseq(n) mod #Intseq(n) eq 0 and &+Intseq(n) / #Intseq(n) eq 4]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Apr 16 2017
STATUS
approved