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.

A110300 Not-really primes: numbers n such that n - 1, n and n + 1 all have only 1 or 2 prime factors.

This page as a plain text file.
%I A110300 #16 Dec 16 2019 01:56:45
%S A110300 3,4,5,6,10,14,22,34,38,58,86,94,122,142,158,178,202,214,218,302,382,
%T A110300 394,446,502,542,634,698,718,842,878,922,1042,1138,1202,1262,1318,
%U A110300 1346,1382,1402,1438,1622,1642,1762,1822,1838,1894,1942,1982,2018,2102
%N A110300 Not-really primes: numbers n such that n - 1, n and n + 1 all have only 1 or 2 prime factors.
%H A110300 Robert Israel, <a href="/A110300/b110300.txt">Table of n, a(n) for n = 1..6000</a>
%e A110300 14 is in the sequence because 13, 14 and 15 have only 1, 2 and 2 prime factors respectively, viz. 13, 2 * 7 and 3 * 5.
%p A110300 S:= select(t -> numtheory:-bigomega(t) <= 2, {$2..3000}):
%p A110300 sort(convert(S intersect map(`+`,S,1) intersect map(`-`,S,1),list)); # _Robert Israel_, Dec 15 2019
%o A110300 (PARI) isok(n) = (bigomega(n-1)>0) && (bigomega(n-1)<=2) && (bigomega(n)<=2) && (bigomega(n+1)<=2) \\ _Michel Marcus_, Jul 23 2013
%Y A110300 Cf. A000040, A106639.
%K A110300 easy,nonn
%O A110300 1,1
%A A110300 _Walter Nissen_, Aug 03 2005