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.

A268374 a(n) = A001222(n) - A267116(n).

This page as a plain text file.
%I A268374 #9 Feb 05 2016 20:47:52
%S A268374 0,0,0,0,0,1,0,0,0,1,0,0,0,1,1,0,0,0,0,0,1,1,0,1,0,1,0,0,0,2,0,0,1,1,
%T A268374 1,2,0,1,1,1,0,2,0,0,0,1,0,0,0,0,1,0,0,1,1,1,1,1,0,1,0,1,0,0,1,2,0,0,
%U A268374 1,2,0,2,0,1,0,0,1,2,0,0,0,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,0,0,0,2,0,2,0,1,2,1,0,2,0,2,1,0,0,2,1,0,0,1,1,2
%N A268374 a(n) = A001222(n) - A267116(n).
%H A268374 Antti Karttunen, <a href="/A268374/b268374.txt">Table of n, a(n) for n = 1..10000</a>
%F A268374 a(n) = A001222(n) - A267116(n).
%t A268374 Table[PrimeOmega@ n - BitOr @@ Map[Last, FactorInteger@ n], {n, 120}] /. -1 -> 0 (* _Michael De Vlieger_, Feb 04 2016 *)
%o A268374 (Scheme) (define (A268374 n) (- (A001222 n) (A267116 n)))
%Y A268374 Cf. A001222, A267116.
%Y A268374 Cf. A268375 (indices of zeros), A268376 (of nonzeros).
%K A268374 nonn,base
%O A268374 1,30
%A A268374 _Antti Karttunen_, Feb 03 2016