OFFSET
1,1
COMMENTS
A120292(n) = {2, 1, 1, 5, 1, 23, 1, 1, 1, 23, 17, 13, 5, 1, 1, 1, 1, 37, ...} Absolute value of numerator of determinant of n X n matrix with elements M[i,j] = Prime[i]/(1+Prime[i]) if i=j and 1 otherwise.
MATHEMATICA
Do[f=Abs[Numerator[Det[DiagonalMatrix[Table[Prime[i]/(Prime[i]+1)-1, {i, 1, n}]]+1]]]; If[ f == 1, Print[n]], {n, 1, 256}]
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Alexander Adamchuk, Feb 02 2007
STATUS
approved