login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

The i-values of pairs (i, j) listed in A362329.
3

%I #8 Apr 20 2023 14:45:18

%S 1,1,4,3,3,4,1,3,4,5,7,4,5,5,1,4,7,10,1,4,7,10,13,3,12,3,4,12,13,1,3,

%T 4,5,7,10,12,13,14,16,4,5,9,13,14,5,9,10,14,1,4,7,9,10,11,13,16,19,9,

%U 10,11,12,9,10,11,12,13,1,4,7,9,10,11,12,13,14,16

%N The i-values of pairs (i, j) listed in A362329.

%C See A362331 for the j-values.

%H Rémy Sigrist, <a href="/A362330/b362330.txt">Table of n, a(n) for n = 1..13426</a>

%o (PARI) is(i, j) = { while (i && j, if (i%3==1 && j%3==1, return (0), i\=3; j\=3;);); return (1); }

%o row(ij) = select(i -> !is(i, ij-i), [0..ij])

%Y Cf. A362329, A362331 (j-values).

%K nonn,base

%O 1,3

%A _Rémy Sigrist_, Apr 16 2023