OFFSET
1,1
COMMENTS
FORMULA
a(n) = p^d-2, a(n) is prime, p is a prime and d is the number of digits of p.
EXAMPLE
If p=5, then d=1 and a(1)=3; if p=7, then d=1 and a(2)=5; if p=13, then d=2 and a(3)=167; etc.
MATHEMATICA
Select[Array[#^IntegerLength@ # - 2 &@ Prime@ # &, 200], PrimeQ] (* Michael De Vlieger, Jan 03 2017 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Sergey Pavlov, Jan 02 2017
EXTENSIONS
More terms from Michael De Vlieger, Jan 03 2017
STATUS
approved