This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A123386 #14 Nov 23 2024 14:35:41 %S A123386 3,7,14,24,38,47,74,74,95,112,146,163,174 %N A123386 Largest difference between successive semiprimes up to 10^n inclusive. %C A123386 There are 4 semiprimes up to 10^1 {4, 6, 9, 10}. The differences between successive semiprimes are {2, 3, 1}. Thus a(1) = Max[ {2, 3, 1} ] = 3. %o A123386 (PARI) %o A123386 A001358(prev)={ local(a=prev+1) ; while(bigomega(a)!=2, a++ ; ) ; return(a) ; } %o A123386 A123386(n)={ local(sp1=4,sp2=6,a=2) ; while(sp2<=10^n, a=max(a,sp2-sp1) ; sp1=sp2 ; sp2=A001358(sp1) ; ) ; return(a) ; } %o A123386 { for(n=1,13, print(A123386(n)) ; ) ; } \\ 2 more terms from _R. J. Mathar_, Jan 17 2008 %Y A123386 Cf. A001358, A065516, A036352, A038460, A053303. %K A123386 hard,more,nonn %O A123386 1,1 %A A123386 _Alexander Adamchuk_, Nov 09 2006 %E A123386 2 more term from _R. J. Mathar_, Jan 17 2008 %E A123386 a(8)-a(9) from _Donovan Johnson_, Sep 05 2008 %E A123386 a(10)-a(11) from _Donovan Johnson_, Apr 14 2010 %E A123386 a(12)-a(13) from _Donovan Johnson_, Sep 20 2012