OFFSET
1,1
LINKS
Hauke Löffler, Table of n, a(n) for n = 1..10000
EXAMPLE
2 is in the sequence because 2*(2)-2 = 2 prime.
23 is in the sequence because 23*(2+3)-2 = 113 prime.
PROG
(SageMath)
def isA309248(p):
s = sum(p.digits())
return is_prime(p * s - 2)
[p for p in prime_range(1000) if isA309248(p)]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Hauke Löffler, Jul 18 2019
STATUS
approved