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.

A136582 Sqrt(10)-primes: primes obtained by concatenating the first digits in the decimal expansion of sqrt(10).

Original entry on oeis.org

3, 31, 3162277, 316227766016837933, 316227766016837933199889354443271
Offset: 1

Views

Author

Lekraj Beedassy, Jan 09 2008

Keywords

Comments

n such that floor(sqrt(10^(2*n-1))) is prime (1, 2, 7, 18, 33, ...) are given in A136583.
This sequence is the list of prime terms in A017934.
The next term has 206 digits. - Harvey P. Dale, Dec 06 2023

Crossrefs

Programs

  • Magma
    // by Jason Kimberley, Aug 2011
    for n in [1..499 by 2] do
      f := Isqrt(10^n);
      if IsPrime(f) then
        printf "%o,", f;
      end if;
    end for;
  • Mathematica
    Module[{nn=50,sq10},sq10=RealDigits[Sqrt[10],10,nn][[1]];Select[FromDigits/@Table[Take[sq10,n],{n,nn}],PrimeQ]] (* Harvey P. Dale, Dec 06 2023 *)

Formula

a(n) = A017934(2*A136583(n)-1).