A280693 Numbers n such that A003961(n) = A250469(n).
1, 2, 3, 4, 5, 6, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 29, 31, 35, 37, 41, 43, 47, 49, 50, 52, 53, 55, 59, 61, 65, 66, 67, 71, 73, 77, 79, 83, 85, 89, 91, 95, 97, 101, 103, 107, 109, 113, 115, 119, 121, 127, 131, 133, 137, 139, 143, 149, 151, 157, 161, 163, 167, 169, 173, 179, 181, 186, 187, 191, 193, 197, 199, 203
Offset: 1
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 1..2001
Crossrefs
Programs
-
Mathematica
f[n_] := f[n] = Which[n == 1, 1, PrimeQ@ n, NextPrime@ n, True, Times @@ Replace[FactorInteger[n], {p_, e_} :> f[p]^e, 1]]; g[n_] := If[n == 1, 0, PrimePi@ FactorInteger[n][[1, 1]]]; With[{nn = 204}, Function[s, Function[t, Select[Range@ nn, f@ # == t[[#]] &]]@ MapIndexed[Lookup[s, g[First@ #2] + 1][[#1]] - Boole[First@ #2 == 1] &, #] &@ Map[Position[Lookup[s, g@ #], #][[1, 1]] &, Range@ nn]]@ PositionIndex@ Array[g, 10^4]] (* Michael De Vlieger, Mar 08 2017, Version 10 *)
Comments