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.

A281878 The sum of two successive terms is prime and the sum of two successive digits is also prime.

Original entry on oeis.org

0, 2, 1, 4, 3, 8, 5, 6, 7, 412, 9, 20, 21, 16, 111, 112, 121, 120, 29, 212, 11, 12, 125, 234, 149, 230, 203, 216, 143, 258, 305, 252, 167, 432, 161, 116, 123, 214, 165, 202, 129, 238, 303, 298, 321, 250, 207, 434, 323, 294, 307, 612, 325, 232, 141, 256, 505, 292, 147, 416, 503, 438, 349, 474, 347, 414, 329, 492, 385, 676, 525, 656, 507
Offset: 1

Views

Author

Eric Angelini and Jean-Marc Falcoz, Feb 01 2017

Keywords

Comments

The sequence is started with a(1)=0 and always extended with the smallest integer not yet present in the sequence and not leading to a contradiction.

Examples

			Prime sum of successive terms:
0+2 is prime; 2+1 is prime; 1+4 is prime; ... 6+7 is prime; 7+412 is prime; 412+9 is prime; etc.
Prime sum of successive digits: 0+2 is prime; 2+1 is prime; 1+4 is prime; ... 6+7 is prime; 7+4 is prime; 4+1 is prime; 1+2 is prime; etc.
		

Crossrefs

Cf. A217555.