login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A086669 a(n) = number of divisors of n that are fundamental discriminants. 4

%I #8 Aug 23 2017 09:49:10

%S 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,

%T 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,

%U 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

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

%H Antti Karttunen, <a href="/A086669/b086669.txt">Table of n, a(n) for n = 1..16385</a>

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

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

%o (PARI) for (n=1,100,s=0; fordiv(i=n,i,s+=isfundamental(i)); print1(","s))

%o (PARI) A086669(n) = sumdiv(n, i, isfundamental(i)); \\ _Antti Karttunen_, Aug 22 2017

%Y Cf. A003658, A290098.

%K nonn

%O 1,5

%A _Jon Perry_, Jul 27 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)