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.

A072165 Values of Moebius function of the products of two (not necessarily distinct) primes (semiprimes or 2-almost primes, A001358).

Original entry on oeis.org

0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1
Offset: 1

Views

Author

Jani Melik, Jun 28 2002

Keywords

Comments

Characteristic function for numbers n such that A001358(n) is not a square. - Antti Karttunen, Oct 04 2017

Examples

			For n = 2995, A001358(2995) = 11449 = 107^2, and as Moebius mu is zero for squares, we have a(2995) = 0. - _Antti Karttunen_, Oct 04 2017
		

Crossrefs

Programs

  • Maple
    semiprimes := proc(d_n) local a,i; a := [ ]; for i from 1 to d_n do if((tau(i) = 3) or ((mobius(i) <> 0) and (tau(i) = 4))) then a := [ op(a), mobius(i) ]; fi; od: RETURN(a); end;

Formula

a(n) = A008683(A001358(n)). - Antti Karttunen, Oct 04 2017

Extensions

More terms from Antti Karttunen, Oct 04 2017