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!)
A070304 a(n) = number of times n^2*k^2/(n^2+k^2) is an integer as k ranges over 0, 1, 2, ... 0

%I #5 Mar 30 2012 18:38:58

%S 1,2,1,2,2,2,1,2,1,6,1,2,1,2,3,2,2,2,1,7,1,2,1,2,2,4,1,2,1,8,1,2,1,3,

%T 2,2,2,2,2,7,1,2,1,2,3,2,1,2,1,7,2,4,1,2,2,2,1,4,1,9,1,2,1,2,5,2,1,4,

%U 1,7,1,2,1,3,3,2,1,5,1,7,1,3,1,2,4,2,1,2,1,8,1,2,1,2,2,2,1,2,1,8,2,4,1,4,3

%N a(n) = number of times n^2*k^2/(n^2+k^2) is an integer as k ranges over 0, 1, 2, ...

%C A018892(n) gives the number of integers of the form nk/(n+k).

%o (PARI) for(n=1,150,print1(sum(i=0,n^2,if((n^2*i^2)%(n^2+i^2),0,1)),","))

%Y Cf. A066451.

%K easy,nonn

%O 1,2

%A _Benoit Cloitre_, May 10 2002

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 May 3 21:07 EDT 2024. Contains 372225 sequences. (Running on oeis4.)