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.

A370158 a(n) is the number of prime quadruples of the form {p, p+2, p+6, p+12} with p < 10^n.

This page as a plain text file.
%I A370158 #39 Feb 29 2024 16:18:40
%S A370158 0,1,4,8,24,76,313,1644,9397,56734,361386,2417777,16785520,120150723,
%T A370158 882578840
%N A370158 a(n) is the number of prime quadruples of the form {p, p+2, p+6, p+12} with p < 10^n.
%C A370158 These quadruples are adjacent twin/cousin/sexy prime pairs, and may consist of non-consecutive primes (see A086140).
%e A370158 The third term, the count of quad primes < 10^2, is 4 and they are: (5,7,11,17), (11,13,17,23), (17,19,23,29), (41,43,47,53). The first term, the count of quad primes <10^0, is 0 since the smallest prime is 2.
%o A370158 (Perl) use ntheory ':all'; use bigint; sub a { my $count = () = sieve_prime_cluster(1, 10**$_[0], 2, 6, 12) }; $| = 1; for (0..12) { print(a($_), ", ") } # _Daniel Suteu_, Feb 23 2024
%Y A370158 Cf. A007530, A086140, A341267.
%K A370158 nonn,more
%O A370158 0,3
%A A370158 _James S. DeArmon_, Feb 10 2024
%E A370158 a(8)-a(11) from _Hugo Pfoertner_, Feb 10 2024
%E A370158 a(12) from _Daniel Suteu_, Feb 23 2024
%E A370158 a(13)-a(14) from _Martin Ehrenstein_, Feb 29 2024