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.

A064923 a(n) = Min { k | A064920(k) = n }.

Original entry on oeis.org

2, 3, 6, 5, 10, 7, 14, 16, 24, 11, 22, 13, 26, 39, 52, 17, 34, 19, 38, 57, 76, 23, 46, 69, 72, 115, 120, 29, 58, 31, 62, 64, 96, 155, 160, 37, 74, 111, 148, 41, 82, 43, 86, 129, 172, 47, 94, 141, 144, 235, 240, 53, 106, 159, 162, 265, 270, 59, 118, 61, 122, 183, 244
Offset: 2

Views

Author

Reinhard Zumkeller, Oct 14 2001

Keywords

Comments

A064920(a(n)) = n. a(n) = n iff n is prime.

Crossrefs

Programs

  • PARI
    gpf(n)= { local(f); f=factor(n)~; return(f[1, length(f)]) } { for (n=2, 1000, k=1; until (m==n, k++; g=gpf(k); m=k / g + g - 1); write("b064923.txt", n, " ", k) ) } \\ Harry J. Smith, Sep 29 2009