OFFSET
1,2
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Andreas Weingartner, Uniform distribution of alpha*n modulo one for a family of integer sequences, Uniform Distribution Theory, Vol. 18, No. 2 (2023), pp. 19-30; arXiv preprint, arXiv:2303.16819 [math.NT], 2023. Mentions this sequence.
MATHEMATICA
f[p_, e_] := (p^(e + 1) - 1)/(p - 1); pracQ[n_] := (ind = Position[(fct = FactorInteger[n])[[;; , 1]]/(1 + FoldList[Times, 1, f @@@ Most@fct]), _?(# > 1 &)]) == {};
phiPracticalQ[n_] := If[n == 1, True, (lst = Sort@EulerPhi@Divisors[n]; ok = True; Do[If[lst[[m]] > Sum[lst[[l]], {l, 1, m - 1}] + 1, (ok = False; Break[])], {m, 1, Length[lst]}]; ok)]; (* Frank M Jackson's code at A260653 *)
Select[Range[300], pracQ[#] && phiPracticalQ[#] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Dec 31 2022
STATUS
approved