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.

A370395 Numbers k that are neither squarefree nor prime powers sandwiched between twin primes.

This page as a plain text file.
%I A370395 #21 Apr 04 2024 10:02:07
%S A370395 12,18,60,72,108,150,180,192,198,228,240,270,312,348,420,432,522,600,
%T A370395 660,810,828,882,1020,1032,1050,1062,1092,1152,1278,1320,1428,1452,
%U A370395 1488,1608,1620,1668,1788,1872,1932,1950,1998,2028,2088,2112,2142,2268,2340,2550
%N A370395 Numbers k that are neither squarefree nor prime powers sandwiched between twin primes.
%C A370395 Contains A113839 \ {4}.
%C A370395 This sequence contains 1062, 1278, 1608 while A258838 does not; A258838 includes 4, 6, 30, 42, 462, 570, etc.
%H A370395 Michael De Vlieger, <a href="/A370395/b370395.txt">Table of n, a(n) for n = 1..10000</a>
%F A370395 Intersection of A014574 and A126706.
%e A370395 The number 12 is neither squarefree nor a prime power but comes between primes 11 and 13.
%e A370395 The number 30 is squarefree, though it comes between primes 29 and 31, it is not in the sequence.
%t A370395 Select[1 + Select[Prime@ Range[100], PrimeQ[# + 2] &], Nor[SquareFreeQ[#], PrimePowerQ[#]] &]
%Y A370395 Cf. A001359, A006512, A014574, A113839, A126706, A258838.
%K A370395 nonn,easy
%O A370395 1,1
%A A370395 _Michael De Vlieger_, Mar 27 2024