cp's OEIS Frontend

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.

A160500 Prime p1 of consecutive primes p1, p2, where p2-p1=10, and p1, p2 are in different centuries.

This page as a plain text file.
%I A160500 #13 Sep 02 2024 11:23:56
%S A160500 691,1399,1699,5791,6091,6691,6793,7297,8599,10993,12391,12799,13999,
%T A160500 14197,14293,15091,15391,15991,17599,18493,18691,19699,22699,22993,
%U A160500 23899,24499,24799,25693,26893,27397,28099,28297,28393,29191,33493
%N A160500 Prime p1 of consecutive primes p1, p2, where p2-p1=10, and p1, p2 are in different centuries.
%C A160500 The sequence is probably infinite.
%C A160500 It appears that every integer occurs as the difference round((a(n+1)-a(n))/100); all numbers 1..228 occur as these differences for a(n) < 1000000000. - _Hartmut F. W. Hoft_, May 18 2017
%H A160500 Harvey P. Dale, <a href="/A160500/b160500.txt">Table of n, a(n) for n = 1..1000</a>
%e A160500 Consecutive primes 10993 and 11003 differ by 10 and are in consecutive centuries, so 10993 is in the sequence.
%t A160500 a160500[n_] := Map[Last, Select[Map[{NextPrime[#, 1], NextPrime[#, -1]}&, Range[100, n, 100]], First[#]-Last[#]==10&]]
%t A160500 a160500[33500] (* data *) (* _Hartmut F. W. Hoft_, May 18 2017 *)
%t A160500 cpdcQ[{a_,b_}]:=b-a==10&&Floor[a/100]!=Floor[b/100]; Select[Partition[Prime[Range[ 4000]],2,1],cpdcQ][[;;,1]] (* _Harvey P. Dale_, Sep 02 2024 *)
%Y A160500 Cf. A160440, A160370, A031928.
%K A160500 nonn
%O A160500 1,1
%A A160500 _Ki Punches_, May 15 2009
%E A160500 Edited by _Ray Chandler_, May 22 2009