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.

A162822 Positive numbers k such that 36*k/(36-k) are integers.

Original entry on oeis.org

9, 12, 18, 20, 24, 27, 28, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 44, 45, 48, 52, 54, 60, 63, 72, 84, 90, 108, 117, 144, 180, 198, 252, 360, 468, 684, 1332
Offset: 1

Views

Author

Keywords

Comments

The number k=36 is explicitly included, treating the result of division through zero as an integer.
Row 36 of A191973.

Crossrefs

Programs

  • Maple
    for m from 1 to 1332 do if(m=36 or m*36 mod (m-36) = 0)then printf("%d, ", m): fi: od: # Nathaniel Johnston, Jun 22 2011
  • Mathematica
    f[a_,b_]:=(a*b)/(a-b); a=36;lst={};Do[If[f[a,n]==IntegerPart[f[a,n]], AppendTo[lst,n]],{n,9!}];lst
    Sort[Join[{36},Select[Range[1500],IntegerQ[(36#)/(36-#)]&]]]  (* Harvey P. Dale, Mar 23 2011 *)

Extensions

Keywords fini,full added by R. J. Mathar, Jul 31 2009