proposed
approved
proposed
approved
editing
proposed
a(18) = a(25) = a(31) = 6, a(19) = a(22) = a(37) = 5, a(20) = a(27) = a(35) = a(36) = a(39) = a(48) = 1, a(23) = a(38) = a(49) = 2, a(24) = a(29) = a(42) = 3, a(26) = 12, a(28) = 75, a(30) = 8, a(33) = 7, a(41) = 121, a(44) = 1052, a(46) = 125, a(47) = 1527. - Chai Wah Wu, Nov 19 2018
approved
editing
proposed
approved
editing
proposed
a(18) = a(25) = a(31) = 6, a(19) = a(22) = a(37) = 5, a(20) = a(27) = a(35) = a(36) = a(39) = a(48) = 1, a(23) = a(38) = a(49) = 2, a(24) = a(29) = a(42) = 3, a(26) = 12, a(28) = 75, a(30) = 8, a(33) = 7, a(41) = 121, a(46) = 125. - Chai Wah Wu, Nov 19 2018
approved
editing
reviewed
approved
proposed
reviewed
editing
proposed
a[n_] := Do[s = HarmonicNumber[n, r]; If[PrimeQ[Numerator[s] + Denominator[s]], Return[r]], {r, 1, Infinity}]; Table[a[n], {n, 1, 16}] (* Vaclav Kotesovec, Nov 14 2018 *)
proposed
editing