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.

A086669 a(n) = number of divisors of n that are fundamental discriminants.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 2, 2, 1, 1, 4, 2, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 2, 4, 2, 2, 1, 2, 2, 1, 1, 4, 1, 2, 2, 2, 2, 1, 2, 4, 2, 2, 1, 4, 2, 1, 2, 2, 4, 2, 1, 2, 2, 2, 1, 4, 2, 2, 2, 2, 2, 2, 1, 4, 1, 2, 1, 4, 4, 1, 2, 4, 2, 2, 2, 2, 2, 1, 2, 4, 2, 1, 2, 2
Offset: 1

Views

Author

Jon Perry, Jul 27 2003

Keywords

Examples

			10 has divisors 1, 2, 5 and 10 of which 1 and 5 are fundamental discriminants, so a(10)=2
		

Crossrefs

Programs

  • PARI
    for (n=1,100,s=0; fordiv(i=n,i,s+=isfundamental(i)); print1(","s))
    
  • PARI
    A086669(n) = sumdiv(n, i, isfundamental(i)); \\ Antti Karttunen, Aug 22 2017

Formula

a(n) = Sum_{d|n} A290098(d).