cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A162691 Strictly positive numbers n such that 24*n/(24+n) is an integer.

Original entry on oeis.org

8, 12, 24, 40, 48, 72, 120, 168, 264, 552
Offset: 1

Views

Author

Keywords

Comments

The 24th row of A127730.
The ansatz 24*n/(24+n)=j (any integer j) yields n=24*j/(24-j) which demonstrates that the sequence is finite if n>=0. [R. J. Mathar, Jul 13 2009]

Crossrefs

Programs

  • Mathematica
    f[a_,b_]:=(a*b)/(a+b); a=24;lst={};Do[If[f[a,n]==IntegerPart[f[a,n]],AppendTo[lst,n]],{n,9!}];lst
    Select[Range[600],IntegerQ[(24#)/(24+#)]&] (* Harvey P. Dale, Jul 30 2021 *)

Extensions

Edited by R. J. Mathar, Jul 13 2009