|
|
A162689
|
|
Strictly positive numbers n such that (18*n)/(18+n) are integers.
|
|
17
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
The ansatz 18*n/(18+n)=j (any integer j) yields n=18*j/(18-j) which demonstrates that the sequence is finite if n>=0. [R. J. Mathar, Jul 13 2009]
|
|
LINKS
|
|
|
MATHEMATICA
|
f[a_, b_]:=(a*b)/(a+b); a=18; lst={}; Do[If[f[a, n]==IntegerPart[f[a, n]], AppendTo[lst, n]], {n, 9!}]; lst
Select[Range[400], IntegerQ[(18#)/(18+#)]&] (* Harvey P. Dale, Nov 12 2011 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,full
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|