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

A303845 A fractal-like sequence: erasing all pairs of consecutive terms that produce a prime by concatenation leaves the sequence unchanged.

Original entry on oeis.org

1, 2, 3, 2, 4, 7, 5, 9, 3, 2, 4, 6, 13, 8, 11, 7, 5, 10, 19, 12, 17, 14, 23, 15, 31, 9, 3, 2, 4, 6, 16, 21, 18, 47, 13, 8, 20, 27, 22, 37, 11, 7, 5, 10, 24, 41, 19, 12, 25, 39, 26, 33, 17, 14, 28, 43, 23, 15, 29, 53, 31, 9, 3, 2, 4, 6, 16, 30, 49, 21, 18, 32, 51, 34, 57, 47, 13, 8, 20, 35, 59, 36, 71, 38, 63, 27, 22, 40, 73
Offset: 1

Views

Author

Eric Angelini and Jean-Marc Falcoz, May 01 2018

Keywords

Comments

The sequence is fractal-like as it embeds an infinite number of copies of itself.
The sequence was built according to these rules (see, in the Example section, the parenthesization technique):
1) no overlapping pairs of parentheses;
2) always start the content inside a pair of parentheses with the smallest integer P > 1 not yet present inside another pair of parentheses;
3) always end the content inside a pair of parentheses with the smallest integer R > 1 not yet present inside another pair of parentheses such that the concatenation PR is prime;
4) after a(1) = 1, a(2) = 2, a(3) = 3, always try to extend the sequence with a duplicate > 1 of the oldest term of the sequence not yet duplicated; if this leads to a contradiction, open a new pair of parentheses.

Examples

			Parentheses are added around each pair of terms whose concatenation produces a prime:
1,(2,3),2,(4,7),(5,9),3,2,4,(6,13),(8,11),7,5,(10,19),(12,17),(14,23),(15,31),9,...
Erasing all the parenthesized contents yields
1,(...),2,(...),(...),3,2,4,(....),(....),7,5,(.....),(.....),(.....),(.....),9,...
We see that the remaining terms rebuild the starting sequence.
		

Crossrefs

Cf. A000040 (the prime numbers), A303950 (remove parentheses with Fibonacci sum).

A303951 A fractal-like sequence: erasing all pairs of contiguous terms that don't sum up to a Fibonacci number leaves the sequence unchanged.

Original entry on oeis.org

1, 2, 3, 4, 9, 5, 3, 10, 6, 7, 8, 13, 11, 23, 12, 22, 14, 20, 15, 19, 16, 18, 17, 4, 9, 25, 21, 34, 24, 31, 26, 29, 27, 28, 30, 59, 32, 57, 33, 56, 35, 54, 36, 53, 37, 52, 38, 51, 39, 50, 40, 49, 41, 48, 42, 47, 43, 46, 44, 45, 55, 89, 58, 86, 60, 84, 61, 83
Offset: 1

Views

Author

Lars Blomberg and Eric Angelini, May 03 2018

Keywords

Comments

The sequence is fractal-like as it embeds an infinite number of copies of itself.
The sequence was built according to these rules (see, in the Example section, the parenthesization technique):
1) no overlapping pairs of parentheses;
2) always start the content inside a pair of parentheses with the smallest integer C > 2 not yet present inside another pair of parentheses;
3) always end the content inside a pair of parentheses with the smallest integer I > 2 not yet present inside another pair of parentheses such that the sum C + I is not a Fibonacci number;
4) after a(1) = 1 and a(2) = 2, always try to extend the sequence with a duplicate of the oldest term of the sequence not yet duplicated; if this leads to a contradiction, open a new pair of parentheses.

Examples

			Parentheses are added around each pair of terms that don't sum up to a Fibonacci:
1, 2, (3,4), (9,5), 3, (10,6), (7,8), (13,11), (23,12), (22,14), (20,15), (19,16), (18,17), 4, 9, (25,21), ...
Erasing all the parenthesized contents yields
1, 2, (...), (...), 3, (....), (...), (.....), (.....), (.....), (.....), (.....), (.....), 4, 9, (.....), ...
We see that the remaining terms slowly rebuild the starting sequence.
		

Crossrefs

Cf. A000045 (Fibonacci numbers).
For other "erasing criteria", cf. A303845 (prime by concatenation), A274329 (pair summing up to a prime), A303936 (pair not summing up to a prime), A303948 (pair sharing a digit), A302389 (pair having no digit in common), A303950 (pair summing up to a Fibonacci).

A303953 A fractal-like sequence: erasing all pairs of contiguous terms that sum up to a square leaves the sequence unchanged.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 10, 4, 7, 9, 5, 6, 8, 17, 10, 4, 7, 11, 14, 9, 5, 6, 8, 12, 13, 17, 10, 4, 7, 11, 15, 21, 14, 9, 5, 6, 8, 12, 16, 20, 13, 17, 10, 4, 7, 11, 15, 18, 31, 21, 14, 9, 5, 6, 8, 12, 16, 19, 30, 20, 13, 17, 10, 4, 7, 11, 15, 18, 22, 27, 31, 21, 14
Offset: 1

Views

Author

Lars Blomberg and Eric Angelini, May 03 2018

Keywords

Comments

The sequence is fractal-like as it embeds an infinite number of copies of itself.
The sequence was built according to these rules (see, in the Example section, the parenthesization technique):
1) no overlapping pairs of parentheses;
2) always start the content inside a pair of parentheses with the smallest integer R > 3 not yet present inside another pair of parentheses;
3) always end the content inside a pair of parentheses with the smallest integer E > 3 not yet present inside another pair of parentheses such that the sum R + E is a square number;
4) after a(1) = 1, a(2) = 2, a(3) = 3, a(4) = 4 and a(5) = 5, always try to extend the sequence with a duplicate of the oldest term > 5 of the sequence not yet duplicated; if this leads to a contradiction, open a new pair of parentheses.

Examples

			Parentheses are added around each pair of terms that sum up to a square:
1, 2, 3, (4,5), (6,10), 4, (7,9), 5, 6, (8,17), 10, 4, 7, (11,14), 9, 5, 6, 8, (12,13), 17, 10,
Erasing all the parenthesized contents yields
1, 2, 3, (...), (....), 4, (...), 5, 6, (....), 10, 4, 7, (.....), 9, 5, 6, 8, (.....), 17, 10,
We see that the remaining terms slowly rebuild the starting sequence.
		

Crossrefs

Cf. A000290 (Square numbers).
For other "erasing criteria", cf. A303845 (prime by concatenation), A274329 (pair summing up to a prime), A303936 (pair not summing up to a prime), A303948 (pair sharing a digit), A302389 (pair having no digit in common), A303950 (pair summing up to a Fibonacci), A303951 (pair not summing up to a Fibonacci).

A303954 A fractal-like sequence: erasing all pairs of contiguous terms that don't sum up to a square leaves the sequence unchanged.

Original entry on oeis.org

1, 2, 7, 3, 1, 8, 4, 5, 6, 10, 9, 16, 11, 14, 12, 13, 15, 21, 17, 19, 18, 31, 20, 29, 22, 27, 23, 2, 7, 42, 24, 25, 26, 38, 28, 36, 30, 34, 32, 49, 33, 3, 1, 8, 41, 35, 46, 37, 44, 39, 61, 40, 60, 43, 57, 45, 4, 5, 59, 47, 53, 48, 52, 50, 71, 51, 70, 54, 67
Offset: 1

Views

Author

Lars Blomberg and Eric Angelini, May 03 2018

Keywords

Comments

The sequence is fractal-like as it embeds an infinite number of copies of itself.
The sequence was built according to these rules (see, in the Example section, the parenthesization technique):
1) no overlapping pairs of parentheses;
2) always start the content inside a pair of parentheses with the smallest integer N not yet present inside another pair of parentheses;
3) always end the content inside a pair of parentheses with the smallest integer E not yet present inside another pair of parentheses such that the sum N + E is not a square number;
4) after a(1) = 1 and a(2) = 2, always try to extend the sequence with a duplicate of the oldest term > 5 of the sequence not yet duplicated; if this leads to a contradiction, open a new pair of parentheses.

Examples

			Parentheses are added around each pair of terms that don't sum up to a square:
(1,2), (7,3), 1, (8,4), (5,6), (10,9), (16,11), (14,12), (13,15), (21,17), (19,18), (31,20), (29,22), (27,23), 2, 7, (42,24),
Erasing all the parenthesized contents yields
(...), (...), 1, (...), (...), (....), (.....), (.....), (.....), (.....), (.....), (.....), (.....), (.....), 2, 7, (.....),
We see that the remaining terms slowly rebuild the starting sequence.
		

Crossrefs

Cf. A000290 (Square numbers).
For other "erasing criteria", cf. A303845 (prime by concatenation), A274329 (pair summing up to a prime), A303936 (pair not summing up to a prime), A303948 (pair sharing a digit), A302389 (pair having no digit in common), A303950 (pair summing up to a Fibonacci), A303951 (pair not summing up to a Fibonacci), A303953 (pair summing up to a square).

A316272 A fractal-like sequence: erasing all pairs of consecutive terms that include a prime and a composite number (in any order) leaves the sequence unchanged.

Original entry on oeis.org

1, 2, 3, 4, 1, 6, 5, 2, 3, 7, 8, 4, 1, 6, 9, 11, 5, 2, 3, 7, 13, 10, 8, 4, 1, 6, 9, 12, 17, 11, 5, 2, 3, 7, 13, 19, 14, 10, 8, 4, 1, 6, 9, 12, 15, 23, 17, 11, 5, 2, 3, 7, 13, 19, 29, 16, 14, 10, 8, 4, 1, 6, 9, 12, 15, 18, 31, 23, 17, 11, 5, 2, 3, 7, 13, 19, 29, 37, 20, 16, 14, 10, 8, 4, 1
Offset: 1

Views

Author

Eric Angelini and Jean-Marc Falcoz, Jun 28 2018

Keywords

Comments

The sequence is fractal-like as it embeds an infinite number of copies of itself.
The sequence was built according to these rules (see, in the Example section, the parenthesization technique):
1) no overlapping pairs of parentheses;
2) always start the content inside a pair of parentheses either with the smallest prime P > 2 not yet present inside another pair of parentheses or with the smallest composite C > 1 not yet present inside another pair of parentheses ;
3) always end the content inside a pair of parentheses either with the smallest composite C > 1 not yet present inside another pair of parentheses or with the smallest prime > 2 not yet present inside another pair of parentheses;
4) after a(1) = 1 and a(2) = 2, always try to extend the sequence with a duplicate > 1 of the oldest term of the sequence not yet duplicated; if this leads to a contradiction, open a new pair of parentheses.

Examples

			Parentheses are added around each pair of terms made of a composite and a prime number (in any order):
(1,2),(3,4),1,(6,5),2,3,(7,8),4,1,6,(9,11),5,2,3,7,(13,10),8,4,1,6,9,(12,17),11,...
Erasing all the parenthesized contents yields
(...),(...),1,(...),2,3,(...),4,1,6,(....),5,2,3,7,(.....),8,4,1,6,9,(.....),11,...
We see that the remaining terms rebuild the starting sequence.
		

Crossrefs

For other "erasing criteria", see A303845 (prime by concatenation), A274329 (pair summing up to a prime), A303936 (pair not summing up to a prime), A303948 (pair sharing a digit), A302389 (pair having no digit in common), A303950 (pair summing up to a Fibonacci), A303951 (pair not summing up to a Fibonacci), A303953 (pair summing up to a square), A303954 (pair not summing up to a square).
Showing 1-5 of 5 results.