|
Search: id:A071974
|
|
|
| A071974 |
|
Numerator of rational number i/j such that Sagher map sends i/j to n. |
|
+0 2
|
|
| 1, 1, 1, 2, 1, 1, 1, 1, 3, 1, 1, 2, 1, 1, 1, 4, 1, 3, 1, 2, 1, 1, 1, 1, 5, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 7, 5, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 3, 8, 1, 1, 1, 2, 1, 1, 1, 3, 1, 1, 5, 2, 1, 1, 1, 4, 9, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 2, 1, 1, 1, 1, 1, 7, 3, 10, 1, 1, 1, 1
(list; graph; listen)
|
|
|
OFFSET
|
1,4
|
|
|
COMMENT
|
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.
|
|
REFERENCES
|
Y. Sagher, Counting the rationals, Amer. Math. Monthly, 96 (1989), p. 823. Math. Rev. 90i:04001.
|
|
FORMULA
|
If n=Product p_i^e_i, then a_n=Product p_i^f(e_i), where f(n)=n/2 if n is even and f(n)=0 if n is odd - Reiner Martin (reinermartin(AT)hotmail.com), Jul 08 2002
|
|
EXAMPLE
|
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, ...
|
|
MATHEMATICA
|
f[{p_, a_}] := If[EvenQ[a], p^(a/2), 1]; a[n_] := Times@@(f/@FactorInteger[n])
|
|
PROGRAM
|
(PARI) a(n)=local(v=factor(n)~); prod(k=1, length(v), if(v[2, k]%2, 1, v[1, k]^(v[2, k]/2)))
|
|
CROSSREFS
|
Cf. A071975. Differs from A056622 at a(32).
Sequence in context: A162154 A134505 A076933 this_sequence A056622 A135063 A129265
Adjacent sequences: A071971 A071972 A071973 this_sequence A071975 A071976 A071977
|
|
KEYWORD
|
nonn,frac,easy,nice,mult
|
|
AUTHOR
|
N. J. A. Sloane (njas(AT)research.att.com), Jun 19 2002
|
|
EXTENSIONS
|
More terms from Reiner Martin (reinermartin(AT)hotmail.com), Jul 08 2002
|
|
|
Search completed in 0.002 seconds
|