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!)
A270383 Number of ordered pairs (i,j) with i >= j, |i|, |j| <= n, and |i * j| <= n. 1
1, 6, 12, 18, 27, 33, 43, 49, 59, 68, 78, 84, 98, 104, 114, 124, 137, 143, 157, 163, 177, 187, 197, 203, 221, 230, 240, 250, 264, 270, 288, 294, 308, 318, 328, 338, 359, 365, 375, 385, 403, 409, 427, 433, 447, 461, 471, 477, 499, 508, 522 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 2*(Sum_{k=1..n} tau(k)) + floor(sqrt(n)) + 2*n + 1, where tau(k) = A000005(k) is number of divisors of k.
a(n) = A067274(n) + 2 for n >= 1.
EXAMPLE
For n = 2 the a(2) = 12 pairs are (2,1), (2,0), (2,-1), (1,1), (1,0), (1,-1), (1,-2), (0,0), (0,-1), (0,-2), (-1,-1), and (-1,-2). - Danny Rorabaugh, Apr 05 2016
MATHEMATICA
a[n_]:=2Sum[Length[Divisors[k]], {k, 1, n}]+Floor[Sqrt[n]]+2n+1
PROG
(PARI) a(n) = 2*sum(k=1, n, numdiv(k)) + sqrtint(n) + 2*n + 1; \\ Michel Marcus, Apr 05 2016
CROSSREFS
Sequence in context: A108587 A079424 A350685 * A088345 A057826 A334543
KEYWORD
nonn
AUTHOR
STATUS
approved

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 16 10:45 EDT 2024. Contains 371709 sequences. (Running on oeis4.)