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”).
%I #6 Apr 18 2020 19:44:54
%S 43,47,59,67,71,79,107,109,131,149,151,157,167,179,181,227,233,239,
%T 251,281,293,307,313,337,433,443,521,593,601,613,673,809,821,823,881,
%U 929,953,971,977,1021,1201,1217,1249,1637,1697,1931,2081,2113,2309,2657,2689,2741,2789,2819,3203,3209,3299,3457,3469,3593,3617,3847,3881,4001
%N Primes p for which A329697(p) == 4.
%C Primes p of the form of the form A334103(n) + 1, for some n >= 1.
%H Antti Karttunen, <a href="/A334094/b334094.txt">Table of n, a(n) for n = 1..330; all terms < 2^31</a>
%o (PARI)
%o A329697(n) = if(!bitand(n,n-1),0,1+A329697(n-(n/vecmax(factor(n)[, 1]))));
%o isA334094(n) = (isprime(n)&&(4==A329697(n)));
%Y Primes in A334104.
%Y Cf. A000040, A010051, A052126, A171462, A329697, A334103.
%Y Cf. also A019434, A334092, A334093, A334095, A334096.
%K nonn
%O 1,1
%A _Antti Karttunen_, Apr 14 2020