OFFSET
1,2
COMMENTS
m is a prime power iff a(m) is a prime power: A010055(a(A000961(n))) = 1 and A010055(a(A024619(n))) = 0. [Reinhard Zumkeller, Feb 16 2012]
REFERENCES
From a puzzle proposed by Marc LeBrun.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
G_2(6) = 3*5, G_3(6) = 5*7, so G_6(6) = 3*5*5*7 = 525.
PROG
(Haskell)
a045974 n = g n n where
g x y = product [a000040 (a049084 pi + a049084 pj) ^ (ei * ej) |
(pi, ei) <- zip (a027748_row x) (a124010_row x),
(pj, ej) <- zip (a027748_row y) (a124010_row y)]
-- Reinhard Zumkeller, Feb 16 2012
CROSSREFS
KEYWORD
nonn,nice,easy
AUTHOR
EXTENSIONS
More terms from Naohiro Nomoto, Mar 14 2001
STATUS
approved