A252788
Numbers m such that 3^m + m is a semiprime.
Original entry on oeis.org
1, 4, 7, 14, 16, 20, 22, 32, 38, 55, 80, 92, 188, 220, 296, 328, 370, 422, 452, 454, 500, 650, 934, 962
Offset: 1
1 is in this sequence because 3^1+1 = 2*2 is semiprime.
14 is in this sequence because 3^14+14 = 283*16901 and these two factors are prime.
-
IsSemiprime:=func; [m: m in [1..130] | IsSemiprime(s) where s is 3^m+m];
-
Select[Range[130], PrimeOmega[3^# + #]==2 &]
-
first(m)=my(v=vector(m),r=1);for(i=1,m,while(bigomega(3^r + r)!=2,r++);v[i]=r;r++);v; \\ Anders Hellström, Aug 14 2015
A252657
Numbers m such that 4^m - m is a semiprime.
Original entry on oeis.org
2, 11, 17, 33, 55, 59, 63, 153, 315
Offset: 1
2 is in this sequence because 4^2-2 = 2*7 is semiprime.
17 is in this sequence because 4^17-17 = 6971*2464477 and these two factors are prime.
Cf. similar sequences listed in
A252656.
-
IsSemiprime:=func; [m: m in [2..120] | IsSemiprime(s) where s is 4^m-m];
-
Select[Range[120], PrimeOmega[4^# - #]==2 &]
A252658
Numbers m such that 5^m - m is a semiprime.
Original entry on oeis.org
1, 3, 8, 14, 18, 48, 52, 54, 62, 72, 96, 98, 114, 186, 486, 524, 712
Offset: 1
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.
Cf. similar sequences listed in
A252656.
-
IsSemiprime:=func; [m: m in [1..100] | IsSemiprime(s) where s is 5^m-m];
-
Select[Range[100], PrimeOmega[5^# - #]==2 &]
-
isok(n)=bigomega(5^n - n)==2 \\ Anders Hellström, Aug 21 2015
A252659
Numbers m such that 6^m - m is a semiprime.
Original entry on oeis.org
2, 3, 5, 10, 15, 23, 34, 37, 47, 70, 259, 275, 278, 497, 563
Offset: 1
2 is in this sequence because 6^2-2 = 2*17 is semiprime.
10 is in this sequence because 6^10-10 = 2*30233083 and these two factors are prime.
Cf. similar sequences listed in
A252656.
-
IsSemiprime:=func; [m: m in [1..90] | IsSemiprime(s) where s is 6^m-m];
-
Res:= NULL:
for n from 1 to 100 do
F:= ifactors(6^n-n, easy)[2];
if add(t[2], t=F) >= 3 or (hastype(F, symbol) and add(t[2], t=F) >= 2)
then flag:= false
elif add(t[2], t=F) = 2 and not hastype(F, symbol) then flag:= true
else
flag:= evalb(numtheory:-bigomega(6^n-n)=2)
fi;
if flag then Res:= Res, n fi
od:
Res; # Robert Israel, Sep 06 2016
-
Select[Range[90], PrimeOmega[6^# - #]== 2&]
A252660
Numbers k such that 7^k - k is a semiprime.
Original entry on oeis.org
1, 20, 26, 32, 54, 162, 204
Offset: 1
1 is in this sequence because 7^1-1 = 2*3 is semiprime.
20 is in this sequence because 7^20-20 = 1511201*52800564781 and these two factors are prime.
Cf. similar sequences listed in
A252656.
-
IsSemiprime:=func; [m: m in [1..80] | IsSemiprime(s) where s is 7^m-m];
-
Res:= NULL:
for n from 1 to 100 do
F:= ifactors(7^n-n,easy)[2];
if add(t[2],t=F) >= 3 or (hastype(F,symbol) and add(t[2],t=F) >= 2)
then flag:= false
elif add(t[2],t=F) = 2 and not hastype(F,symbol) then flag:= true
else
flag:= evalb(numtheory:-bigomega(7^n-n)=2)
fi;
if flag then Res:= Res, n fi
od:
Res; # Robert Israel, Sep 02 2016
-
Select[Range[80], PrimeOmega[7^# - #]==2 &]
A252661
Numbers m such that 8^m - m is a semiprime.
Original entry on oeis.org
2, 7, 9, 111, 129, 133, 361
Offset: 1
2 is in this sequence because 8^2-2 = 2*31 is semiprime.
9 is in this sequence because 8^9-9 = 23*5835553 and these two factors are prime.
Cf. similar sequences listed in
A252656.
-
IsSemiprime:=func; [m: m in [1..70] | IsSemiprime(s) where s is 8^m-m];
-
Select[Range[70],PrimeOmega[8^# - #]==2 &]
A252662
Numbers m such that 9^m - m is a semiprime.
Original entry on oeis.org
4, 8, 10, 14, 20, 26, 38, 44, 56, 80, 190
Offset: 1
4 is in this sequence because 9^4-4 = 79*83 and these two factors are prime.
14 is in this sequence because 9^14-14 = 163*140348419969 and these two factors are prime.
Cf. similar sequences listed in
A252656.
-
IsSemiprime:=func; [m: m in [1..80] | IsSemiprime(s) where s is 9^m-m];
-
Select[Range[80], PrimeOmega[9^# - #]==2 &]
A252663
Numbers m such that 10^m - m is a semiprime.
Original entry on oeis.org
1, 7, 9, 11, 15, 33, 77, 93, 107, 117, 143, 149, 177, 209, 221
Offset: 1
1 is in this sequence because 10^1-1 = 3*3 is semiprime.
9 is in this sequence because 10^9-9 = 67*14925373 and these two factors are prime.
Cf. similar sequences listed in
A252656.
-
IsSemiprime:=func; [m: m in [1..80] | IsSemiprime(s) where s is 10^m-m];
-
Select[Range[80], PrimeOmega[10^# - #]==2 &]
-
is(m) = bigomega(10^m - m) == 2; \\ Jinyuan Wang, Jul 09 2019
Showing 1-8 of 8 results.
Comments