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.

A293666 Lexicographically earliest sequence of distinct positive integers such that the absolute value of the first difference contains only distinct prime numbers.

This page as a plain text file.
%I A293666 #6 Oct 14 2017 10:46:34
%S A293666 1,3,6,11,4,15,2,19,38,7,30,59,12,49,8,51,104,21,80,9,70,137,10,83,
%T A293666 162,5,94,191,18,119,16,123,14,127,258,17,154,293,22,171,20,183,350,
%U A293666 13,192,373,24,215,408,25,222,23,234,457,26,253,482,33,266,27,278
%N A293666 Lexicographically earliest sequence of distinct positive integers such that the absolute value of the first difference contains only distinct prime numbers.
%C A293666 This sequence is a variant of A081145 and of A230455.
%C A293666 See A293667 for the first difference of this sequence.
%C A293666 For n > 1, n is even iff a(n) is odd.
%H A293666 Rémy Sigrist, <a href="/A293666/a293666.gp.txt">PARI program for A293666</a>
%e A293666 The following table shows the first terms, alongside the first terms of the first difference:
%e A293666 n       a(n)    a(n+1)-a(n)
%e A293666 --      ----    -----------
%e A293666 1       1       2
%e A293666 2       3       3
%e A293666 3       6       5
%e A293666 4       11      -7
%e A293666 5       4       11
%e A293666 6       15      -13
%e A293666 7       2       17
%e A293666 8       19      19
%e A293666 9       38      -31
%e A293666 10      7       23
%e A293666 11      30      29
%e A293666 12      59      -47
%e A293666 13      12      37
%e A293666 14      49      -41
%e A293666 15      8       43
%e A293666 16      51      53
%e A293666 17      104     -83
%e A293666 18      21      59
%e A293666 19      80      -71
%e A293666 20      9       61
%o A293666 (PARI) See Links section.
%Y A293666 Cf. A081145, A230455, A293667.
%K A293666 nonn
%O A293666 1,2
%A A293666 _Rémy Sigrist_, Oct 14 2017