login
List of lengths of subsequences of the characteristic function of those primes for which the minimum cyclic self-convolution is 1. Also n such that A337802(n)=1.
1

%I #10 Nov 10 2020 23:00:07

%S 3,5,7,11,13,17,19,23,31,43,47,61,73,107,109,113,181,199,467

%N List of lengths of subsequences of the characteristic function of those primes for which the minimum cyclic self-convolution is 1. Also n such that A337802(n)=1.

%C Is this sequence finite?

%t b[n_] := Table[If[PrimeQ[i], 1, 0], {i, 1, n}];

%t tab = Table[Min@Table[b[n].RotateRight[Reverse[b[n]], j], {j, 0, n - 1}], {n, 1, 2^12}]; (* to explore the first 2^12 subsequences *)

%t Flatten[Position[tab, 1]]

%Y Cf. A337802, A010051, A299111.

%K nonn,more

%O 1,1

%A _Andres Cicuttin_, Oct 11 2020