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-3 of 3 results.

A075607 a(1) = 1, a(n) = smallest number not occurring earlier such that the concatenation a(n-1) and a(n) is a prime.

Original entry on oeis.org

1, 3, 7, 9, 11, 17, 21, 13, 19, 31, 37, 27, 29, 39, 23, 33, 43, 49, 51, 47, 59, 53, 81, 61, 63, 67, 79, 93, 41, 57, 83, 69, 71, 77, 89, 99, 73, 121, 97, 87, 103, 91, 127, 123, 113, 111, 109, 133, 117, 101, 107, 119, 129, 169, 151, 141, 131, 143, 137, 147, 139
Offset: 1

Views

Author

Amarnath Murthy, Sep 28 2002

Keywords

Comments

Almost certainly a permutation of A045572. - David W. Wilson, Jan 15 2005

Crossrefs

Programs

  • Mathematica
    a = {{1}}; Do[k = 2; While[Nand[! MemberQ[a, #], PrimeQ@ FromDigits@ Join[a[[n - 1]], #]] &@ Set[d, IntegerDigits@ k], k++]; AppendTo[a, d], {n, 2, 61}]; FromDigits /@ a (* Michael De Vlieger, May 08 2017 *)
  • PARI
    A075607(n,show=0,a=1,u=[])={for(n=2,n,show&&print1(a","); u=setunion(u,[a]); while(#u>1&&u[2]==u[1]+2,u=u[2..-1]); forstep(k=u[1]+2, 9e9, 2, setsearch(u,k)&&next; isprime(eval(Str(a,k))) && (a=k) && break)); a} \\ Use 2nd, 3rd or 4th optional arg to print intermediate terms, to use another starting value or to exclude some terms. - M. F. Hasler, Nov 25 2015

Extensions

More terms from Michel ten Voorde Jun 23 2003

A075609 a(1) = 1, a(n) = smallest prime number not occurring earlier such that the concatenation a(n-1) and a(n) is a prime.

Original entry on oeis.org

1, 3, 7, 19, 13, 61, 31, 37, 67, 79, 103, 43, 73, 127, 139, 97, 151, 157, 109, 199, 181, 193, 163, 211, 229, 223, 241, 271, 277, 331, 283, 397, 337, 313, 307, 367, 457, 421, 349, 373, 379, 433, 439, 409, 463, 523, 487, 601, 541, 547, 499, 571, 673, 613, 577
Offset: 1

Views

Author

Amarnath Murthy, Sep 28 2002

Keywords

Crossrefs

Extensions

More terms from Michel ten Voorde Jun 23 2003

A075610 a(1) = 1, a(n) = smallest prime number not occurring earlier such that the concatenation a(n-1) and a(n) is a composite number.

Original entry on oeis.org

1, 2, 5, 7, 11, 13, 3, 19, 17, 29, 23, 31, 41, 37, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 97, 89, 103, 101, 109, 107, 113, 127, 131, 137, 139, 149, 151, 167, 157, 173, 163, 179, 181, 191, 193, 197, 199, 223, 227, 211, 233, 229, 239, 241, 251, 269, 263, 271, 257, 277
Offset: 1

Views

Author

Amarnath Murthy, Sep 28 2002

Keywords

Crossrefs

Extensions

More terms from Michel ten Voorde Jun 23 2003
Showing 1-3 of 3 results.