OFFSET
1,2
COMMENTS
There are no other known terms under 1000 - the only possible terms are 812 and 908. - Carl Schildkraut, Aug 21 2015
EXAMPLE
1 is in this sequence because 5^1-1 = 2*2 is semiprime.
18 is in this sequence because 5^18-18 = 199*19169332993 and these two factors are prime.
MATHEMATICA
Select[Range[100], PrimeOmega[5^# - #]==2 &]
PROG
(Magma) IsSemiprime:=func<i | &+[d[2]: d in Factorization(i)] eq 2>; [m: m in [1..100] | IsSemiprime(s) where s is 5^m-m];
(PARI) isok(n)=bigomega(5^n - n)==2 \\ Anders Hellström, Aug 21 2015
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Vincenzo Librandi, Dec 20 2014
EXTENSIONS
a(13)-a(17) from Carl Schildkraut, Aug 21 2015
STATUS
approved