login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A293433 a(n) is the number of the proper divisors of n that are Jacobsthal numbers (A001045). 6
0, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 3, 1, 1, 2, 1, 2, 2, 2, 1, 2, 2, 1, 2, 1, 1, 3, 1, 1, 3, 1, 2, 2, 1, 1, 2, 2, 1, 3, 1, 2, 3, 1, 1, 2, 1, 2, 2, 1, 1, 2, 3, 1, 2, 1, 1, 3, 1, 1, 3, 1, 2, 3, 1, 1, 2, 2, 1, 2, 1, 1, 3, 1, 2, 2, 1, 2, 2, 1, 1, 3, 2, 2, 2, 2, 1, 3, 1, 1, 2, 1, 2, 2, 1, 1, 3, 2, 1, 2, 1, 1, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
FORMULA
a(n) = Sum_{d|n, d<n} A147612(d).
a(n) = A293431(n) - A147612(n).
EXAMPLE
For n = 21, whose proper divisors are [1, 3, 7], both 1 and 3 are in A001045, thus a(21) = 2.
MATHEMATICA
With[{s = LinearRecurrence[{1, 2}, {0, 1}, 24]}, Table[DivisorSum[n, 1 &, And[MemberQ[s, #], # != n] &], {n, 105}]] (* Michael De Vlieger, Oct 09 2017 *)
PROG
(PARI)
A147612aux(n, i) = if(!(n%2), n, A147612aux((n+i)/2, -i));
A147612(n) = 0^(A147612aux(n, 1)*A147612aux(n, -1));
A293433(n) = sumdiv(n, d, (d<n)*A147612(d));
CROSSREFS
Cf. also A293435.
Sequence in context: A350330 A154402 A210682 * A177025 A265210 A023396
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 09 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 09:08 EDT 2024. Contains 371964 sequences. (Running on oeis4.)