OFFSET
1,1
REFERENCES
J.-P. Delahaye, Des suites fractales d’entiers, Pour la Science, No. 531 January 2022. Sequence f) p. 82.
MAPLE
[seq(ithprime(n)^(1+(n mod 2)), n=1..80)]; # N. J. A. Sloane, Dec 18 2021
MATHEMATICA
{#[[1]]^2, #[[2]]}&/@Partition[Prime[Range[70]], 2]//Flatten (* Harvey P. Dale, Jul 30 2024 *)
PROG
(Python)
from sympy import prime
def A350173(n): return prime(n)**(n%2+1) # Chai Wah Wu, Dec 19 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Dec 18 2021
STATUS
approved