OFFSET
1,2
COMMENTS
These are the positions of first appearances of each positive integer in A346704. - Gus Wiseman, Oct 16 2021
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
Table[If[n==1, 1, 2*n^2/FactorInteger[n][[-1, 1]]], {n, 100}] (* Gus Wiseman, Aug 10 2021 *)
PROG
(PARI) A129597(n) = if(1==n, n, my(f=factor(n)); (2*n*n)/f[#f~, 1]); \\ Antti Karttunen, Oct 16 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 01 2007, based on Marc LeBrun's Jan 11 2006 message on SeqFan mailing list.
STATUS
approved