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

A075106 Denominator of n/floor(log_2(n)); numerator is A075105(n).

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 3, 1, 3, 3, 1, 3, 3, 1, 1, 4, 2, 4, 1, 4, 2, 4, 1, 4, 2, 4, 1, 4, 2, 4, 5, 5, 5, 1, 5, 5, 5, 5, 1, 5, 5, 5, 5, 1, 5, 5, 5, 5, 1, 5, 5, 5, 5, 1, 5, 5, 5, 5, 1, 5, 5, 5, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3, 6, 1, 6, 3, 2, 3
Offset: 2

Views

Author

Reinhard Zumkeller, Sep 02 2002

Keywords

Crossrefs

Programs

  • Haskell
    import Data.Ratio ((%), denominator)
    a075106 n = denominator $ n % a000523 n
    -- Reinhard Zumkeller, Jul 08 2014
  • Mathematica
    Table[n/Floor[Log[2,n]],{n,2,110}]//Denominator (* Harvey P. Dale, Feb 25 2018 *)

Formula

a(n) = A000523(n)/A075104(n).

A075104 Greatest common divisor of n and integer part of log_2(n).

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 1, 1, 3, 1, 1, 3, 1, 1, 3, 4, 1, 2, 1, 4, 1, 2, 1, 4, 1, 2, 1, 4, 1, 2, 1, 1, 1, 1, 5, 1, 1, 1, 1, 5, 1, 1, 1, 1, 5, 1, 1, 1, 1, 5, 1, 1, 1, 1, 5, 1, 1, 1, 1, 5, 1, 1, 1, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2
Offset: 1

Views

Author

Reinhard Zumkeller, Sep 02 2002

Keywords

Crossrefs

Programs

  • Haskell
    a075104 n = gcd n $ a000523 n  -- Reinhard Zumkeller, Jul 08 2014
  • Mathematica
    Table[GCD[n,IntegerPart[Log[2,n]]],{n,110}] (* Harvey P. Dale, Apr 21 2016 *)

Formula

a(n) = gcd(n, A000523(n)).

A075107 Number of steps to reach the first integer (= A075108(n)) starting with n/floor(log_2(n)) and iterating the map x -> x*ceiling(x), or -1 if no integer is ever reached.

Original entry on oeis.org

0, 0, 0, 2, 0, 1, 1, 0, 5, 2, 0, 3, 2, 0, 0, 3, 3, 2, 0, 2, 1, 3, 0, 2, 2, 2, 0, 1, 1, 1, 2, 5, 3, 0, 16, 2, 4, 6, 0, 4, 16, 9, 2, 0, 1, 1, 1, 1, 0, 4, 2, 4, 8, 0, 2, 5, 2, 8, 0, 9, 3, 4, 5, 2, 0, 1, 1, 1, 1, 1, 0, 5, 7, 3, 2, 4, 0, 9, 4, 1, 2, 3, 0, 4, 1, 2, 1
Offset: 2

Views

Author

Reinhard Zumkeller, Sep 02 2002

Keywords

Comments

Starting values given by A075105(n)/A075106(n).

Examples

			a(5)=2 since 5/floor(log_2(5)) = 5/2 -> 15/2 -> 60 = A075108(5).
		

Crossrefs

Extensions

More terms from Jinyuan Wang, Jan 15 2022
Showing 1-3 of 3 results.