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.
%I A071975 #33 Aug 26 2024 11:42:08 %S A071975 1,2,3,1,5,6,7,4,1,10,11,3,13,14,15,1,17,2,19,5,21,22,23,12,1,26,9,7, %T A071975 29,30,31,8,33,34,35,1,37,38,39,20,41,42,43,11,5,46,47,3,1,2,51,13,53, %U A071975 18,55,28,57,58,59,15,61,62,7,1,65,66,67,17,69,70,71,4,73,74,3,19,77 %N A071975 Denominator of rational number i/j such that Sagher map sends i/j to n. %C A071975 The Sagher map sends Product p_i^e_i / Product q_i^f_i (p_i and q_i being distinct primes) to Product p_i^(2e_i) * Product q_i^(2f_i-1). This is multiplicative. %H A071975 Reinhard Zumkeller, <a href="/A071975/b071975.txt">Table of n, a(n) for n = 1..10000</a> %H A071975 Yoram Sagher, <a href="http://www.jstor.org/stable/2324846">Counting the rationals</a>, Amer. Math. Monthly, 96 (1989), p. 823. Math. Rev. 90i:04001. %H A071975 <a href="/index/Ra#rational">Index entries for sequences related to enumerating the rationals</a> %F A071975 If n = Product p_i^e_i, then a(n) = Product p_i^f(e_i), where f(n) = (n+1)/2 if n is odd and f(n) = 0 if n is even. - _Reiner Martin_, Jul 08 2002 %F A071975 From _Reinhard Zumkeller_, Jul 10 2011: (Start) %F A071975 a(n^2) = 1, A071974(n^2) = n, cf. A000290. %F A071975 a(2*(2*n-1)^2) = 2, A071974(2*(2*n-1)^2) = 2*n+1, cf. A077591. %F A071975 a(2*(2*n-1)^2) = 2, A071974(2*(2*n-1)^2) = 2*n+1, cf. A077591. (End) %F A071975 Sum_{k=1..n} a(k) ~ c * n^2, where c = (Pi^4*zeta(3)/180) * Product_{p prime} (1 - 1/p^2 - 1/p^3 + 1/p^4 - 1/p^5 + 1/p^6) = 0.3394877587... . - _Amiram Eldar_, Oct 30 2022 %e A071975 The Sagher map sends the following fractions to 1, 2, 3, 4, ...: 1/1, 1/2, 1/3, 2/1, 1/5, 1/6, 1/7, 1/4, 3/1, ... %t A071975 f[{p_, a_}] := If[OddQ[a], p^((a+1)/2), 1]; a[n_] := Times@@(f/@FactorInteger[n]) %o A071975 (PARI) a(n)=local(v=factor(n)~); prod(k=1,length(v),if(v[2,k]%2,v[1,k]^-(-v[2,k]\2),1)) %o A071975 (Haskell) %o A071975 a071975 n = product $ zipWith (^) (a027748_row n) $ %o A071975 map (\e -> (e `mod` 2) * (e + 1) `div` 2) $ a124010_row n %o A071975 -- _Reinhard Zumkeller_, Jun 15 2012 %Y A071975 Cf. A000290, A071974. %Y A071975 Cf. A002117, A027748, A124010. %K A071975 nonn,frac,easy,nice,mult %O A071975 1,2 %A A071975 _N. J. A. Sloane_, Jun 19 2002 %E A071975 More terms from _Reiner Martin_, Jul 08 2002