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.

Showing 1-2 of 2 results.

A105145 Numbers n such that the string n10001 is prime.

Original entry on oeis.org

18, 21, 30, 32, 39, 71, 72, 78, 84, 86, 89, 93, 95, 98, 107, 108, 135, 143, 150, 152, 159, 161, 165, 170, 173, 177, 179, 180, 192, 198, 203, 221, 243, 245, 248, 261, 269, 281, 282, 294, 302, 306, 315, 320, 329, 336, 338, 347, 369, 374, 378, 395, 399, 423, 425, 443, 446, 449, 456, 458, 471, 500, 504
Offset: 1

Views

Author

Parthasarathy Nambi, Apr 09 2005

Keywords

Examples

			If n=18, then n10001 = 1810001 (prime).
If n=98, then n10001 = 9810001 (prime).
		

Crossrefs

Programs

  • Maple
    read("transforms") :
    for n from 1 to 1000 do p := digcat2(n,10001) ; if isprime(p) then printf("%d,",n); end if; end do: # R. J. Mathar, Feb 02 2011
  • Mathematica
    Select[Range[600],PrimeQ[#*10^5+10001]&] (* Harvey P. Dale, Apr 29 2018 *)

A105146 Numbers k such that the string k100001 is prime.

Original entry on oeis.org

2, 6, 17, 23, 26, 38, 39, 42, 59, 63, 83, 89, 96, 102, 107, 117, 135, 144, 146, 153, 159, 174, 179, 182, 185, 189, 191, 192, 194, 201, 206, 230, 233, 237, 240, 245, 248, 249, 251, 252, 270, 279, 285, 287, 293, 299, 300, 318, 321, 329, 335, 339, 345, 350, 354, 356, 378, 387, 392
Offset: 1

Views

Author

Parthasarathy Nambi, Apr 09 2005

Keywords

Examples

			k=2 is in the sequence because k100001 = 2100001 is prime.
k=96 is in the sequence because k100001 = 96100001 is prime.
		

Crossrefs

Programs

  • Magma
    [ n: n in [1..400] | IsPrime(Seqint([1, 0, 0, 0, 0, 1] cat Intseq(n))) ]; // Vincenzo Librandi, Feb 03 2011
Showing 1-2 of 2 results.