A131559 Indices of records in A078571.
1, 3, 7, 8, 14, 41, 270, 277, 1595, 5899, 6320, 6668, 117221, 180037, 295677, 587152, 703625, 4397877, 12151726, 29573235
Offset: 1
Examples
a(1) = 1 because A078571(1) = 2, since the average of twin prime pair (3,5) is 4 = 2^2 is a semiprime with two prime factors (with multiplicity). a(2) = 3 because A078571(3) = smallomega(12) = 3. a(3) = 7 because A078571(7) = smallomega(60) = 4. a(4) = 8 because A078571(8) = smallomega(72) = 5. a(5) = 14 because A078571(14) = smallomega(192) = 7. a(6) = 41 because A078571(41) = smallomega(1152) = smallomega(2^7 * 3^2) = 9.
Programs
-
PARI
lista(nn) = {my(r=0, c=0, p=2); forprime(q=3, nn, if(q-p==2, c++; if(bigomega(p+1)>r, r=bigomega(p+1); print1(c, ", "))); p=q); } \\ Jinyuan Wang, Apr 01 2020
Extensions
More terms from R. J. Mathar, Oct 24 2007
a(13)-a(20) from Jinyuan Wang, Apr 01 2020
Comments