A248857 Composite numbers n such that n - phi(n) is a power of 10.
1320, 1640, 1768, 1996, 13200, 16400, 19984, 19996, 132000, 164000, 199996, 1320000, 1640000, 1999936, 13200000, 16400000, 16666240, 17999488, 18515584, 19999984, 19999996, 132000000, 164000000, 164296960, 166662400, 199999936, 199999984, 1320000000
Offset: 1
Keywords
Examples
1320 is in the sequence because 1320 - phi(1320) = 10^3.
Links
- Giovanni Resta, Table of n, a(n) for n = 1..47 (terms < 10^12, first 41 terms from Robert G. Wilson v)
Programs
-
Mathematica
a248857[n_] := Select[Select[Range@n, CompositeQ[#] &], IntegerQ[Log10[# - EulerPhi[#]]] &]; a248857[10^7] (* Michael De Vlieger, Jan 07 2015 *)
-
PARI
lista(nn) = forcomposite(n=2, nn, if (ispower(n-eulerphi(n),,&d) && (d==10), print1(n, ", "))); \\ Michel Marcus, Jan 06 2015
Extensions
a(22)-a(28) from Giovanni Resta, Apr 17 2017
Comments