OFFSET
1,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..48
EXAMPLE
a(3) = 105 because 3, 5 and 7 are the A073882(3) = 3 primes in the interval from 3 to 3^2 inclusive and 3 * 5 * 7 = 105.
MATHEMATICA
Join[{1}, Table[Product[Prime[i], {i, If[PrimeQ[n], PrimePi[n], PrimePi[n]+1], PrimePi[n^2]}], {n, 2, 10}]] (* James C. McMahon, Apr 01 2024 *)
PROG
(PARI) for(n=1, 15, print1(prod(k=n, n^2, if(isprime(k), k, 1)), ", "))
CROSSREFS
KEYWORD
easy,nonn,changed
AUTHOR
Rick L. Shepherd, Jul 02 2005
EXTENSIONS
More terms from Michel Marcus, Apr 02 2024
STATUS
approved