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.

A065145 Smallest prime that begins with the n-th square in decimal notation.

Original entry on oeis.org

11, 41, 97, 163, 251, 367, 491, 641, 811, 1009, 1213, 1447, 1693, 19603, 2251, 25601, 2897, 32401, 3613, 4001, 44101, 48407, 5297, 57601, 6257, 6761, 7297, 7841, 8419, 9001, 9613, 10243, 10891, 115601, 12251, 12967, 13691, 14447, 15217, 16001
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 17 2001

Keywords

Crossrefs

Programs

  • Maple
    f:= proc(n) local d,m,r;
      for d from 1 do
       for m from 1 to 10^d-1 by 2 do
        r:= 10^d*n^2 + m;
        if isprime(r) then return r fi
      od od
    end proc:
    map(f, [$1..100]); # Robert Israel, May 16 2018

Formula

a(n) = A030665(n^2). - Robert Israel, May 16 2018