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.

Showing 1-2 of 2 results.

A054023 Chowla function of n is not divisible by the number of divisors of n.

Original entry on oeis.org

4, 6, 8, 10, 12, 14, 16, 18, 20, 21, 22, 24, 25, 26, 28, 30, 33, 34, 38, 40, 42, 44, 45, 46, 48, 49, 52, 54, 56, 57, 58, 60, 62, 63, 64, 65, 66, 68, 69, 70, 72, 74, 76, 77, 78, 80, 81, 82, 84, 85, 86, 88, 90, 92, 93, 94, 96, 99, 100, 102, 104, 105, 106, 108, 110, 112, 114
Offset: 1

Views

Author

Asher Auel, Jan 19 2000

Keywords

Comments

Chowla's function (A048050) = sum of divisors of n except 1 and n.

Crossrefs

Complement is A054022.

Programs

  • Maple
    with(numtheory):
    [seq(`if`((sigma(i)-i-1) mod tau(i) <> 0,i,print( )),i=1..1000)];
  • Mathematica
    cfQ[n_]:=!Divisible[DivisorSigma[1,n]-1-n,DivisorSigma[0,n]]; Select[ Range[ 150],cfQ] (* Harvey P. Dale, Jul 22 2014 *)

A160550 a(n) = A001065(n) mod A000005(n).

Original entry on oeis.org

0, 1, 1, 0, 1, 2, 1, 3, 1, 0, 1, 4, 1, 2, 1, 0, 1, 3, 1, 4, 3, 2, 1, 4, 0, 0, 1, 4, 1, 2, 1, 1, 3, 0, 1, 1, 1, 2, 1, 2, 1, 6, 1, 4, 3, 2, 1, 6, 2, 1, 1, 4, 1, 2, 1, 0, 3, 0, 1, 0, 1, 2, 5, 0, 3, 6, 1, 4, 3, 2, 1, 3, 1, 0, 1, 4, 3, 2, 1, 6, 0, 0, 1, 8, 3, 2, 1, 4, 1, 0, 1, 4, 3, 2, 1, 0, 1, 1, 3, 0, 1, 2, 1, 2, 7
Offset: 1

Views

Author

Ctibor O. Zizka, May 19 2009

Keywords

Comments

A054022(n) for n > 1 gives the numbers k such that a(k) = 1.

Crossrefs

Programs

  • Magma
    [ (SumOfDivisors(n)-n) mod NumberOfDivisors(n): n in [1..105] ]; // Klaus Brockhaus, May 21 2009
    
  • Mathematica
    Table[Mod[DivisorSigma[1,n]-n,DivisorSigma[0,n]],{n,110}] (* Harvey P. Dale, Jun 22 2013 *)
  • PARI
    A160550(n)=lift(Mod(sigma(n)-n,numdiv(n))); \\ Michael B. Porter, Oct 13 2009

Extensions

Extended and comment edited by Klaus Brockhaus, May 21 2009
Showing 1-2 of 2 results.