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.

A154513 The prime(n)-th digit of the concatenated composites.

Original entry on oeis.org

6, 8, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, 1, 4, 6, 0, 1, 1, 1, 7, 1, 1, 1, 3, 8, 3, 1, 5, 1, 1, 1, 1, 1, 1, 1, 3, 5, 1, 8, 1, 8, 1, 0, 1, 7, 0, 1, 5, 1, 1, 2, 5, 8, 2, 2, 5, 2, 9, 2, 4, 2, 8, 0, 2, 2, 8, 2, 1, 2, 2, 2, 2, 6, 2, 2, 2, 5, 2, 5, 2, 2, 2, 5
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Jan 11 2009

Keywords

Comments

The concatenated composites are A129808, the initial 1 removed.

Crossrefs

Programs

  • Maple
    a129808 := [1 ] : for n from 4 to 400 do if not isprime(n) then a129808 := [op(a129808), op(ListTools[Reverse](convert(n,base,10))) ] ; fi; od:
    for n from 1 do p := ithprime(n) ; printf("%d,", op(p+1,a129808) ) ; od: # R. J. Mathar, Aug 03 2009
  • Mathematica
    nn=700;With[{c=Flatten[IntegerDigits/@Complement[Range[4,nn],Prime[Range[ PrimePi[nn]]]]]}, Flatten[Table[Take[c,{n,n}],{n,Prime[Range[ PrimePi[ nn]]]}]]] (* Harvey P. Dale, Nov 22 2013 *)

Formula

a(n) = A129808(prime(n)+1).

Extensions

Edited and corrected by R. J. Mathar, Aug 03 2009

A154521 The prime(n)-th digit of the concatenated positive nonprimes.

Original entry on oeis.org

4, 6, 9, 0, 4, 5, 8, 0, 2, 6, 7, 2, 4, 5, 8, 2, 6, 8, 1, 4, 5, 8, 2, 5, 0, 4, 5, 7, 8, 1, 0, 2, 5, 6, 2, 0, 0, 1, 1, 4, 6, 1, 0, 2, 2, 2, 2, 3, 4, 3, 6, 0, 4, 4, 6, 8, 2, 5, 5, 6, 5, 1, 6, 9, 7, 1, 7, 8, 4, 8, 6, 8, 9, 9, 9, 0, 2, 0, 6, 0, 3, 1, 7, 1, 2, 1, 4, 2, 0, 3, 2, 7, 4, 3, 4, 7, 9, 4, 5, 6, 6, 8, 2, 4, 7
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Jan 11 2009

Keywords

Comments

The digits of A129808 at prime indices.

Crossrefs

Programs

  • Maple
    a129808 := [1] : for n from 4 to 400 do if not isprime(n) then a129808 := [op(a129808), op(ListTools[Reverse](convert(n,base,10))) ] ; fi; od:
    for n from 1 do p := ithprime(n) ; printf("%d,", op(p,a129808) ) ; od: # R. J. Mathar, Aug 03 2009

Formula

a(n) = A129808(prime(n)) .

Extensions

Edited and corrected by R. J. Mathar, Aug 03 2009
Showing 1-2 of 2 results.