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.

A162818 Strictly positive numbers n such that (42*n)/(42+n) is an integer.

Original entry on oeis.org

7, 21, 42, 56, 84, 105, 154, 210, 252, 399, 546, 840, 1722
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    f[a_,b_]:=(a*b)/(a+b); a=42;lst={};Do[If[f[a,n]==IntegerPart[f[a,n]],AppendTo[lst,n]],{n,9!}];lst
    Select[Range[2000], Divisible[42 #, 42 + #] &] (* Harvey P. Dale, May 09 2012 *)

Extensions

Keywords fini and full added by Franklin T. Adams-Watters, Aug 07 2009