A363464 Numbers k in A052294 with arithmetic derivative k' (A003415) in A052294.
6, 9, 10, 14, 18, 20, 21, 22, 24, 25, 33, 34, 35, 38, 40, 42, 44, 48, 49, 52, 62, 65, 66, 68, 69, 70, 76, 80, 84, 88, 91, 93, 94, 96, 100, 104, 110, 115, 117, 118, 121, 132, 133, 134, 138, 140, 143, 144, 145, 148, 152, 155, 158, 164, 174, 182, 185, 186, 188, 192
Offset: 1
Examples
6 = 110_2 has two 1's, 6' = 5 = 101_2 has two 1's, so 6 is a term. 9 = 101_2 has two 1's, 9' = 6 = 110_2 has two 1's, so 9 is a term. 10 = 1010_2 has two 1's, 10' = 7 = 111_2 has three 1's, so 10 is a term. 18 = 10010_2 has two 1's, 18' = 21 = 10101_2 has three 1's, so 18 is a term.
Programs
-
Magma
fp:=func
; f:=func ; [n:n in [1..200]| fp(n) and fp(Floor(f(n)))]; -
Mathematica
pernQ[n_] := PrimeQ[DigitCount[n, 2, 1]]; d[0] = d[1] = 0; d[n_] := n*Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); Select[Range[200], And @@ pernQ[{#, d[#]}] &] (* Amiram Eldar, Jul 10 2023 *)
Comments