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.

Previous Showing 11-16 of 16 results.

A179875 Numbers h such that h and h+1 have same antiharmonic mean of the numbers k < h such that gcd(k, h) = 1.

Original entry on oeis.org

1, 6, 10, 22, 46, 58, 65, 69, 77, 82, 106, 129, 166, 178, 185, 194, 210, 221, 226, 237, 254, 262, 265, 309, 321, 330, 346, 358, 365, 382, 398, 417, 437, 454, 462, 466, 469, 473, 478, 482, 493, 497, 502
Offset: 1

Views

Author

Jaroslav Krizek, Jul 30 2010, Jul 31 2010

Keywords

Comments

Corresponding values of numbers h+1 see A179876.
Numbers h such that A175505(h) = A175505(h+1).
numbers h such that A175506(h) = A175506(h+1).
Antiharmonic mean B(h) of numbers k such that gcd(k, h) = 1 for numbers h >= 1 and k < h = A053818(n) / A023896(n) = A175505(h) / A175506(h).
Conjecture: also numbers k such that mu(k) = 1 and mu(k+1) = -1, where mu is the Möbius function (tested on the first 10^4 terms). - Amiram Eldar, Mar 06 2021

Examples

			For n=3: a(3) = 10; B(10) = A175505(10) / A175506(10) = 7, B(11) = A175505(11) / A175506(11) = 7.
		

Crossrefs

A179876 Numbers h such that h and h-1 have same antiharmonic mean of the numbers k < h such that gcd(k, h) = 1.

Original entry on oeis.org

2, 7, 11, 23, 47, 59, 66, 70, 78, 83, 107, 130, 167, 179, 186, 195, 211, 222, 227, 238, 255, 263, 266, 310, 322, 331, 347, 359, 366, 383, 399, 418, 438, 455, 463, 467, 470, 474, 479, 483, 494, 498, 503
Offset: 1

Views

Author

Jaroslav Krizek, Jul 30 2010, Jul 31 2010

Keywords

Comments

Corresponding values of numbers h-1 see A179875.
Numbers h such that A175505(h) = A175505(h-1).
Numbers h such that A175506(h) = A175506(h-1).
Antiharmonic mean B(h) of numbers k such that gcd(k, h) = 1 for numbers h >= 1 and k < h = A053818(n) / A023896(n) = A175505(h) / A175506(h).

Examples

			For n=3: a(3) = 11; B(11) = A175505(11) / A175506(11) = 7, B(10) = A175505(10) / A175506(10) = 7.
		

Crossrefs

Programs

  • Maple
    antiHMeanGcd := proc(h)
            option remember;
            local a023896,a053818,k ;
            a023896 := 0 ;
            a053818 := 0 ;
            for k from 1 to h do
                    if igcd(k,h) = 1 then
                            a023896 := a023896+k ;
                            a053818 := a053818+k^2 ;
                    end if;
            end do:
            a053818/a023896 ;
    end proc:
    n := 1:
    for h from 2 do
            if antiHMeanGcd(h) = antiHMeanGcd(h-1) then
                    printf("%d %d\n",n,h) ;
                    n := n+1 ;
            end if;
    end do: # R. J. Mathar, Sep 26 2013
  • Mathematica
    hmax = 1000;
    antiHMeanGcd[h_] := antiHMeanGcd[h] = Module[{num = 0, den = 0, k}, For[k = 1, k <= h, k++, If[GCD[k, h] == 1, den += k; num += k^2]]; num/den];
    Reap[n = 1; For[h = 2, h <= hmax, h++, If[antiHMeanGcd[h] == antiHMeanGcd[h - 1], Sow[h]; n++]]][[2, 1]] (* Jean-François Alcover, Mar 23 2020, after R. J. Mathar *)

A179872 Numbers h such that antiharmonic mean B(h) of the numbers k < h such that gcd(k, h) = 1 is not integer.

Original entry on oeis.org

3, 4, 6, 7, 8, 9, 12, 13, 14, 15, 16, 18, 19, 20, 21, 24, 25, 26, 27, 28, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 48, 49, 50, 51, 52, 54, 56, 57, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 84, 86, 87, 88
Offset: 1

Views

Author

Jaroslav Krizek, Jul 30 2010, Jul 31 2010

Keywords

Comments

Numbers h such that B(h) = A053818(h) / A023896(h) = A175505(h) / A175506(h) is not integer.
Numbers h such that A175506(h) > 1.
Complement of A179871.
Union of A007645 and A179891.

Examples

			a(6) = 9 because B(9) = A053818(9) / A023896(9) = 159/27 = 53/9 (not integer).
		

Crossrefs

Programs

  • PARI
    isok(k) = {my(f = factor(k)); if(k == 1, 0, denominator(2*k/3 + (1/3) * prod(i = 1, #f~, 1 - f[i, 1])/eulerphi(f)) > 1);} \\ Amiram Eldar, May 25 2025

Extensions

More terms from Amiram Eldar, May 25 2025

A179883 List of twin numbers (h, h+1) such that h and h+1 have same antiharmonic mean of the numbers k < h such that gcd(k, h) = 1.

Original entry on oeis.org

1, 2, 6, 7, 10, 11, 22, 23, 46, 47, 58, 59, 65, 66, 69, 70, 77, 78, 82, 83, 106, 107, 129, 130, 166, 167, 178, 179, 185, 186, 194, 195, 210, 211, 221, 222, 226, 227, 237, 238, 254, 255, 262, 263, 265, 266, 309, 310, 321, 322, 330, 331, 346, 347, 358, 359, 365
Offset: 1

Views

Author

Jaroslav Krizek, Jul 30 2010, Jul 31 2010

Keywords

Comments

Antiharmonic mean B(h) of numbers k such that gcd(k, h) = 1 for numbers h >= 1 and k < h = A053818(n) / A023896(n) = A175505(h) / A175506(h). Union of A179875 and A179876.

Crossrefs

Formula

a(2*n-1) = A179875(n), a(2*n) = A179876(n) = A179875(n)+1. - Amiram Eldar, May 24 2025

A179884 List of twin numbers (h, h+1) such that h and h+1 have same antiharmonic mean of the numbers k < h such that gcd(k, h) = 1 and simultaneously this mean is an integer.

Original entry on oeis.org

1, 2, 10, 11, 22, 23, 46, 47, 58, 59, 82, 83, 106, 107, 166, 167, 178, 179, 226, 227, 262, 263, 265, 266, 346, 347, 358, 359, 382, 383, 454, 455, 466, 467, 469, 470, 478, 479, 493, 494, 502, 503, 505, 506, 517, 518, 562, 563, 586, 587, 589, 590, 718, 719, 781, 782
Offset: 1

Views

Author

Jaroslav Krizek, Jul 30 2010, Jul 31 2010

Keywords

Comments

Subsequence of A179883 and A179871.
Antiharmonic mean B(h) of numbers k such that gcd(k, h) = 1 for numbers h >= 1 and k < h = A053818(n) / A023896(n) = A175505(h) / A175506(h).
Corresponding values of antiharmonic mean B(a(n)) are in A179886.

Crossrefs

Formula

a(2*n-1) = A179877(n), a(2*n) = A179878(n) = A179877(n)+1. - Amiram Eldar, May 24 2025

Extensions

More terms from Amiram Eldar, May 25 2025

A179886 Corresponding values of antiharmonic mean B(h) of the numbers k < h such that gcd(k, h) = 1 for numbers h from A179884.

Original entry on oeis.org

1, 1, 7, 7, 15, 15, 31, 31, 39, 39, 55, 55, 71, 71, 111, 111, 119, 119, 151, 151, 175, 175, 177, 177, 231, 231, 239, 239, 255, 255, 303, 303, 311, 311, 313, 313, 319, 319, 329, 329, 335, 335, 337, 337, 345, 345, 375, 375, 391, 391, 393, 393, 479, 479, 521, 521
Offset: 1

Views

Author

Jaroslav Krizek, Jul 30 2010, Jul 31 2010

Keywords

Comments

Antiharmonic mean B(h) of numbers k such that gcd(k, h) = 1 for numbers h >= 1 and k < h = A053818(n) / A023896(n) = A175505(h) / A175506(h).

Crossrefs

Formula

a(2*n-1) = a(2*n) = A179882(n). - Amiram Eldar, May 26 2025

Extensions

More terms from Amiram Eldar, May 26 2025
Previous Showing 11-16 of 16 results.