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-4 of 4 results.

A027435 Number of distinct products ij with 1 <= i <= n, 1 <= j <= n, (i,j)=1.

Original entry on oeis.org

1, 2, 4, 6, 10, 11, 17, 21, 27, 29, 39, 42, 54, 57, 62, 70, 86, 89, 107, 113, 120, 125, 147, 152, 172, 178, 196, 204, 232, 236, 266, 282, 294, 302, 320, 329, 365, 374, 388, 400, 440, 446, 488, 501, 518, 529, 575, 586, 628, 638, 657, 672, 724, 733, 758, 778
Offset: 1

Views

Author

Keywords

Comments

S. W. Golomb, personal communication, Svalbard, Norway, 7/97.

Crossrefs

Programs

  • Maple
    A027435 := proc(n)
        local L, i, j ;
        L := {};
        for i from 1 to n do
            for j from 1 to n do
                if igcd(i,j) = 1 then
                L := L union {i*j};
                end if;
            end do:
        end do:
        nops(L);
    end proc:  # R. J. Mathar, Jun 09 2016
  • Mathematica
    Array[-Boole[# > 1] + Length@ Union@ Apply[Join, Table[If[CoprimeQ @@ #, i j, 0] &@ {i, j}, {i, #}, {j, #}]] &, 56] (* Michael De Vlieger, Nov 01 2017 *)
  • PARI
    a(n)={#Set(concat(vector(n, i, [i*j | j<-[1..n], gcd(i,j)==1])))} \\ Andrew Howroyd, Nov 15 2018
    
  • PARI
    seq(n)={my(v=vector(n),t=1);for(n=1, n, t+=sum(i=1, n-1, gcd(i,n) == 1 && 0==sumdiv(i*n, d, my(t=i*n/d); gcd(t,d)==1 && dAndrew Howroyd, Nov 16 2018

Formula

a(n) = Sum_{k=1..n} A014665(n). - Sean A. Irvine, Nov 15 2018
For n>1: # of positive integers u <= n(n-1) such that p^H_p(u)<=n for all p<=u, where H_p(u) = highest power of p dividing u.
a(n) = A236309(n) + 1. - Andrew Howroyd, Nov 16 2018

Extensions

More terms from Olivier Gérard, Nov 15 1997

A039776 Number of new fractions m/n, where m is 1 or composite, (m,n) = 1 and "new" means the value of mn has not occurred before.

Original entry on oeis.org

1, 1, 1, 1, 2, 1, 3, 1, 3, 2, 6, 1, 7, 2, 4, 3, 10, 1, 11, 1, 5, 4, 14, 1, 12, 5, 10, 3, 19, 1, 20, 6, 9, 7, 13, 2, 25, 7, 10, 5, 28, 1, 29, 5, 8, 9, 32, 3, 28, 5, 14, 7, 37, 3, 18, 9, 16, 13, 42, 1, 43, 12, 15, 15, 21, 2, 48, 10, 20, 4, 51, 4, 52, 15, 12, 11, 30, 2, 57, 8, 33, 18, 60, 1
Offset: 1

Views

Author

Keywords

Crossrefs

A039775 Number of new fractions m/n, where m is prime, (m,n)=1 and "new" means the value of mn has not occurred before.

Original entry on oeis.org

0, 0, 1, 1, 2, 1, 3, 3, 3, 1, 4, 3, 5, 3, 3, 5, 6, 5, 7, 5, 4, 5, 8, 7, 8, 5, 8, 5, 9, 7, 10, 10, 6, 7, 7, 9, 11, 7, 6, 9, 12, 9, 13, 9, 11, 9, 14, 13, 14, 13, 9, 10, 15, 14, 11, 12, 9, 11, 16, 14, 17, 12, 14, 17, 12, 13, 18, 13, 12, 15, 19, 18, 20, 15, 18, 14, 16, 15, 21, 19, 21, 16
Offset: 1

Views

Author

Keywords

Crossrefs

A014666 Erroneous version of A027435.

Original entry on oeis.org

1, 2, 4, 6, 10, 11, 17, 21, 27, 29, 39, 42, 54, 58, 63, 71, 87, 90, 108, 114, 121, 126
Offset: 1

Views

Author

Keywords

Comments

Former title: Partial sums of A014665. - Sean A. Irvine, Nov 15 2018

References

  • S. W. Golomb, personal communication, Svalbard, Norway, 7/97.

Formula

For n>1: # of positive integers u <= n(n-1) such that p^H_p(u)<=n for all p<=u, where H_p(u) = highest power of p dividing u.
Showing 1-4 of 4 results.