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.

A328903 Number of primes that are a concatenation of two positive integers whose sum is n.

Original entry on oeis.org

0, 0, 1, 0, 2, 2, 0, 2, 3, 0, 3, 4, 0, 3, 5, 0, 4, 2, 0, 6, 5, 0, 4, 5, 0, 6, 7, 0, 6, 9, 0, 6, 8, 0, 9, 8, 0, 7, 7, 0, 9, 10, 0, 11, 2, 0, 12, 12, 0, 10, 11, 0, 11, 14, 0, 3, 10, 0, 10, 12, 0, 16, 12, 0, 16, 14, 0, 14, 19, 0, 13, 17, 0, 12, 16, 0, 15, 2, 0
Offset: 0

Views

Author

Juri-Stepan Gerasimov, Oct 30 2019

Keywords

Comments

First n > 1 with n != 0 (mod 3) and a(n) = 0 is n = 4477. - Alois P. Heinz, Oct 30 2019

Examples

			1(-), 2(11), 3(-), 4(13, 31), 5(23, 41), 6(-), 7(43, 61), 8(17, 53, 71), 9(-), 10(19, 37, 73), 11(29, 47, 83, 101), 12(-), 13(67, 103, 211), ...
		

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(irem(n, 3)=0, 0, add(
         `if`(isprime(parse(cat(i, n-i))), 1, 0), i=1..n-1))
        end:
    seq(a(n), n=0..100);  # Alois P. Heinz, Oct 30 2019

Formula

a(n) = 0 if n = 1 or n == 0 (mod 3). - Alois P. Heinz, Oct 30 2019

Extensions

More terms from Alois P. Heinz, Oct 30 2019