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.

A144850 a(n) = number of distinct prime divisors (taken together) of numbers of the form x^2+x+1 for x<=10^n.

Original entry on oeis.org

8, 74, 734, 7233, 71653, 712026, 7090655, 70686855, 705173825, 7038475146, 70278276834, 701910715473
Offset: 1

Views

Author

Artur Jasinski & Bernhard Helmes (bhelmes(AT)gmx.de), Sep 22 2008

Keywords

Crossrefs

Programs

  • Mathematica
    d = 10; l = 0; p = 1; c = {}; a = {}; Do[k = p x^2 + x + 1; b = Divisors[k]; Do[If[PrimeQ[b[[n]]], AppendTo[a, b[[n]]]], {n, 1, Length[b]}]; If[x == d, a = Union[a]; l = Length[a]; d = 10 d; Print[l]; AppendTo[c, l]], {x, 1, 10000}]; c (*Artur Jasinski*)

Extensions

Fixed broken link, corrected and extended to agree with website. - Ray Chandler, Jun 30 2015