login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A045970
a(1)=7; if n = Product p_i^e_i, n > 1, then a(n) = Product p_{i+4}^e_i.
8
7, 11, 13, 121, 17, 143, 19, 1331, 169, 187, 23, 1573, 29, 209, 221, 14641, 31, 1859, 37, 2057, 247, 253, 41, 17303, 289, 319, 2197, 2299, 43, 2431, 47, 161051, 299, 341, 323, 20449, 53, 407, 377, 22627, 59, 2717, 61, 2783, 2873, 451, 67, 190333, 361, 3179, 403
OFFSET
1,1
REFERENCES
From a puzzle proposed by Marc LeBrun.
MATHEMATICA
f[p_, e_] := NextPrime[p, 4]^e; a[1] = 7; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Sep 19 2023 *)
KEYWORD
easy,nonn
EXTENSIONS
More terms from David W. Wilson
STATUS
approved