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.

A023575 Number of distinct prime divisors of prime(n)+3.

This page as a plain text file.
%I A023575 #13 Sep 29 2024 02:41:12
%S A023575 1,2,1,2,2,1,2,2,2,1,2,2,2,2,2,2,2,1,3,2,2,2,2,2,2,2,2,3,2,2,3,2,3,2,
%T A023575 2,3,2,2,3,2,3,2,2,2,2,2,2,2,3,2,2,2,2,2,3,3,2,2,3,2,3,2,3,2,2,2,2,3,
%U A023575 3,2,2,2,3,2,2,2,2,2,2,2,2,2,3,2,3,2,2,3,2,2,3,2,3,3,2,3,1,2,2
%N A023575 Number of distinct prime divisors of prime(n)+3.
%H A023575 Robert Israel, <a href="/A023575/b023575.txt">Table of n, a(n) for n = 1..10000</a>
%F A023575 a(n) = omega(prime(n)+3). - _Wesley Ivan Hurt_, Mar 06 2022
%p A023575 f:= proc(p) nops(numtheory:-factorset(p+3)) end proc:
%p A023575 map(f, [seq(ithprime(i),i=1..100)]); # _Robert Israel_, Mar 06 2022
%t A023575 a[n_] := PrimeNu[Prime[n]+3]; Array[a, 100] (* _Amiram Eldar_, Sep 29 2024 *)
%o A023575 (PARI) a(n) = omega(prime(n)+3); \\ _Amiram Eldar_, Sep 29 2024
%Y A023575 Cf. A000040 (prime), A001221 (omega).
%K A023575 nonn,easy
%O A023575 1,2
%A A023575 _Clark Kimberling_