OFFSET
1,6
LINKS
EXAMPLE
For n = 15, whose proper divisors are [1, 3, 5], all of them are in A001045, thus a(15) = 1 + 3 + 5 = 9.
For n = 21, whose proper divisors are [1, 3, 7], both 1 and 3 are in A001045, thus a(21) = 1 + 3 = 4.
For n = 21845, whose proper divisors are [1, 5, 17, 85, 257, 1285, 4369], only 1, 5, 85 are in A001045, thus a(21845) = 1 + 5 + 85 = 91.
MATHEMATICA
With[{s = LinearRecurrence[{1, 2}, {0, 1}, 24]}, Table[DivisorSum[n, # &, And[MemberQ[s, #], # != n] &], {n, 105}]] (* Michael De Vlieger, Oct 09 2017 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 09 2017
STATUS
approved