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 A031171 #16 Jan 29 2023 16:50:33 %S A031171 27,28,32,34,32,34,36,40,38,38,40,36,38,40,42,44,42,42,40,38,40,48,48, %T A031171 48,42,48,48,50,54,54,46,48,44,52,44,46,42,48,56,54,50,52,48,48,54,58, %U A031171 52,46,44,48,48,44,52,56,54,50,48,60,60,66,66,60,52,56,60,62,52 %N A031171 a(n) = prime(n+9) - prime(n). %H A031171 Reinhard Zumkeller, <a href="/A031171/b031171.txt">Table of n, a(n) for n = 1..10000</a> %p A031171 ithprime(n+9)-ithprime(n); %t A031171 Table[Prime[n+9]-Prime[n],{n,80}] (* _Harvey P. Dale_, Jan 29 2023 *) %o A031171 (Magma) [NthPrime(n+9)-NthPrime(n): n in [1..100] ]; // _Vincenzo Librandi_, Apr 23 2011 %o A031171 (Haskell) %o A031171 a031171 n = a031171_list !! (n-1) %o A031171 a031171_list = zipWith (-) (drop 9 a000040_list) a000040_list %o A031171 -- _Reinhard Zumkeller_, Aug 23 2015 %Y A031171 Cf. A000040, A001223, A031131, A031165, A031166, A031167, A031168, A031169, A031170, A031172. %K A031171 nonn %O A031171 1,1 %A A031171 _Jeff Burch_ %E A031171 Offset changed from 2 to 1 and a(1)=27 inserted by _Vincenzo Librandi_, Apr 23 2011