login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A285109
a(n) = n multiplied by its smallest prime factor; a(1) = 1.
7
1, 4, 9, 8, 25, 12, 49, 16, 27, 20, 121, 24, 169, 28, 45, 32, 289, 36, 361, 40, 63, 44, 529, 48, 125, 52, 81, 56, 841, 60, 961, 64, 99, 68, 175, 72, 1369, 76, 117, 80, 1681, 84, 1849, 88, 135, 92, 2209, 96, 343, 100, 153, 104, 2809, 108, 275, 112, 171, 116, 3481, 120, 3721, 124, 189, 128, 325, 132, 4489, 136, 207
OFFSET
1,2
LINKS
FORMULA
a(n) = A020639(n) * n.
Other identities. For all n >= 1:
a(A285100(n)) = A065642(A285100(n)). [Agrees with A065642 on all terms of A285100, but not on any other points.]
MATHEMATICA
a[n_] := n * FactorInteger[n][[1, 1]]; Array[a, 100] (* Amiram Eldar, Jun 30 2022 *)
PROG
(Scheme) (define (A285109 n) (* (A020639 n) n))
(PARI) a(n)=if(n==1, 1, n*factor(n)[1, 1]); \\ Joerg Arndt, Oct 27 2021
CROSSREFS
Differs from A065642 for the first time at n=12. See A284342 for all the differing points.
Sequence in context: A121920 A318279 A065642 * A217579 A118585 A067666
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 19 2017
STATUS
approved