A121594 Numbers k such that k does not divide the denominator of the k-th alternating Harmonic number.
15, 28, 75, 77, 104, 187, 196, 203, 210, 222, 228, 235, 238, 328, 345, 375, 551, 620, 847, 888, 1036, 1107, 1204, 1349, 1352, 1372, 1391, 1430, 1457, 1469, 1470, 1498, 1666, 1687, 1855, 1875, 2133, 2301, 2425, 2440, 2556, 2678, 2948, 3179, 3337, 3477
Offset: 1
Keywords
Links
- Giovanni Resta, Table of n, a(n) for n = 1..900
Crossrefs
Programs
-
Mathematica
Do[H=Sum[(-1)^(i+1)*1/i, {i, 1, n}]; a=Numerator[n*H]; b=Numerator[H]; If[ !Equal[a,b],Print[{n,a/b}]],{n,1,6000}] f=0;Do[f=f+(-1)^(n+1)/n;If[ !IntegerQ[Denominator[f]/n],Print[n]],{n,1,100}] (* Alexander Adamchuk, Jan 02 2007 *)
Comments