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 A359257 #21 Feb 07 2023 16:06:25 %S A359257 6,6,12,6,6,18,6,6,6,18,6,6,18,12,12,6,6,18,12,6,12,12,6,12,30,6,6,24, %T A359257 6,18,6,12,18,6,6,18,12,12,12,6,18,6,24,12,24,18,6,24,6,24,6,6,6,12, %U A359257 12,18,12,18,18,18,6,6,12,6,12,18,24,12,6,24,6,18,6,24,12,18,30,24,6 %N A359257 First differences of A002476. %C A359257 Each term of this sequence is a multiple of 6. %C A359257 Since no term of A002476 ends in 5, the longest run of 6's in this sequence will have length 3 (e.g., 61, 67, 73, 79 in A002476), the longest run of 12's will have length 3 (e.g., 397, 409, 421, 433 in A002476), the longest run of 18's will have length 3 (e.g., 673, 691, 709, 727 in A002476), and the longest run of 24's will have length 3 (e.g., 14149, 14173, 14197, 14221 in A002476). This run limit of length 3 also extends to other multiples of 6 that are not divisible by 5. %C A359257 For multiples of 6 that are divisible by 5, the length of the longest run does not appear to be bounded. %C A359257 Of course there cannot be 6 or more consecutive 30s in this sequence because then one of the primes must be divisible by 7, but there could be up to 10 consecutive 210s. The first run of four 30s corresponds to the primes 320149, 320179, 320209, 320239, 320269 and the first run of five 30s corresponds to the primes 28204591, 28204621, 28204651, 28204681, 28204711, 28204741. - _Charles R Greathouse IV_, Jan 27 2023 %F A359257 a(n) = A002476(n+1) - A002476(n). %e A359257 a(9999) = A002476(10000) - A002476(9999) = 225217 - 225163 = 54. %t A359257 A002476 := Select[6 Range[10000] + 1, PrimeQ]; Table[A002476[[n+1]] - A002476[[n]], {n, 1, 3013}] %o A359257 (PARI) do(lim)=my(v=List(),p=7); forprimestep(q=13,lim\1,6, listput(v,q-p); p=q); Vec(v) \\ _Charles R Greathouse IV_, Jan 27 2023 %Y A359257 Cf. A002476, A007528, A358548. %K A359257 nonn,easy %O A359257 1,1 %A A359257 _Timothy L. Tiffin_, Dec 22 2022