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”).

A367003
a(n) is the largest prime factor of n*2^n-1.
4
1, 7, 23, 7, 53, 383, 179, 89, 271, 3413, 2503, 2137, 59, 367, 1433, 41, 15803, 59729, 26423, 11161, 1559, 12611, 9187523, 127867, 119837257, 11527, 2360833, 43969, 2339, 32212254719, 257503, 616318177, 260587, 127873, 682902239, 44939, 69660839431, 1185617
OFFSET
1,2
LINKS
FORMULA
a(n) = A006530(A003261(n)).
MATHEMATICA
a[n_] := FactorInteger[n*2^n - 1][[-1, 1]]; Array[a, 40] (* Amiram Eldar, Oct 29 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Oct 31 2023
STATUS
approved