A175192 a(n) = characteristic function of numbers k such that A000203(m) = k has solution, where A000203(m) = sums of divisors of m.
1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0
Offset: 1
Keywords
Links
Programs
-
Mathematica
nn = 200; t = Union[Select[DivisorSigma[1, Range[nn]], # <= nn &]]; t2 = Table[0, {200}]; t2[[t]] = 1; t2 (* T. D. Noe, Jan 24 2012 *)
-
PARI
up_to = 65537 v175192 = vector(up_to); for(k=1, up_to, t=sigma(k); if(t<=up_to, v175192[t] = 1)); \\ See also code in A054973. write_to_bfile(start_offset,vec,bfilename) = { for(n=1, length(vec), write(bfilename, (n+start_offset)-1, " ", vec[n])); } write_to_bfile(1,v175192,"b175192_upto65537.txt"); \\ Antti Karttunen, Oct 20 2017
Extensions
More terms from Antti Karttunen, Oct 20 2017
Comments