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”).

Primes arising in A070162.
1

%I #11 Nov 07 2024 08:32:49

%S 3,3,2,5,7,7,7,11,11,11,13,17,23,19,23,29,23,23,31,29,31,29,43,31,31,

%T 47,37,53,47,41,59,43,47,47,47,59,53,71,59,59,61,89,67,71,71,73,109,

%U 79,107,79,107,83,83,89,131,109,127,97,137,101,139,103,107,107,109,139

%N Primes arising in A070162.

%H Amiram Eldar, <a href="/A070163/b070163.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = A070162(n) - A000010(A070162(n)) - 1 = A051953(A070162(n)) - 1.

%t Do[s=n-EulerPhi[n]-1; If[PrimeQ[s], Print[s]], n, 1, 10000]

%o (PARI) lista(kmax) = {my(p); for(k = 1, kmax, p = k - eulerphi(k) - 1; if(isprime(p), print1(p, ", ")));} \\ _Amiram Eldar_, Nov 07 2024

%Y Cf. A000010, A051953, A070162.

%K nonn

%O 1,1

%A _Labos Elemer_, Apr 26 2002