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

A070810
Nonprime numbers k such that phi(k-phi(k)) = A054571(k) is a power of 2.
3
4, 6, 8, 9, 10, 12, 14, 16, 18, 20, 22, 24, 25, 28, 32, 36, 38, 39, 40, 42, 44, 46, 48, 50, 55, 56, 58, 62, 64, 65, 72, 76, 77, 80, 84, 88, 92, 94, 96, 100, 112, 116, 118, 124, 128, 134, 144, 152, 158, 160, 165, 168, 176, 184, 188, 192, 200, 202, 224, 232, 235, 236
OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..6018 (terms below 10^10)
EXAMPLE
For k = 168: 168 - phi(168) = 168-48 = 120, phi(120) = 32, a power of 2.
MATHEMATICA
Do[s=EulerPhi[n-EulerPhi[n]]; If[IntegerQ[Log[2, s]]&&!PrimeQ[n], Print[n]], {n, 1, 256}]
PROG
(PARI) is(k) = if(k == 1 || isprime(k), 0, my(m = eulerphi(k - eulerphi(k))); m >> valuation(m, 2) == 1); \\ Amiram Eldar, Nov 08 2024
KEYWORD
nonn
AUTHOR
Labos Elemer, May 08 2002
STATUS
approved