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 A090870 #15 Sep 06 2024 08:06:19 %S A090870 2,3,7,69,1642,12073,12073,6496152,118033638,5575956036,165534366186, %T A090870 3265469041280,14779996741980,5701362336480884 %N A090870 a(n) is the smallest m such that d(m+k-1) = 2k for k = 1, ..., n where d(t)= prime(t+1) - prime(t) (differences of consecutive primes in arithmetic progression). %C A090870 Is this sequence infinite? %F A090870 a(n) = primePi(A016045(n)). %e A090870 a(8) = 6496152 because prime(6496152) = 113575727 and 113575727, 113575729, 113575733, 113575739, 113575747, 113575757, 113575769, 113575783, and 113575799 are nine consecutive primes with differences respectively 2, 4, 6, 8, 10, 12, 14, 16. %t A090870 a[n_] := (For[m=1, !Sum[(d[m+k-1]-2k)^2, {k, n}]==0, m++ ];m); Do[Print[a[n]], {n, 8}] %Y A090870 Cf. A016045, A049232. %K A090870 nonn,more %O A090870 1,1 %A A090870 _Farideh Firoozbakht_, Dec 11 2003 %E A090870 Extended and edited by _T. D. Noe_, May 23 2011 %E A090870 a(11)-a(14) from _Amiram Eldar_, Sep 06 2024