OFFSET
1,4
COMMENTS
After a(4) = 2, there are no primes in this sequence. Every element thereafter has at least two prime factors, the semiprimes (intersection of A007436 and A001358) starting 4, 6, 134, 831374, ... - Jonathan Vos Post, Dec 15 2004
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..4786 (first 500 terms from T. D. Noe)
Marta Na Chen and Wenchang Chu, Generating functions for circular sums of binomial products, AIMS Math. 10(12), 2025, 28182-28206. See p. 28198.
N. J. A. Sloane, Transforms.
FORMULA
G.f.: Sum_{n>=1} a(n)*x^n/(1 - x^n) = x/(1 - x - x^2). - Ilya Gutkovskiy, Apr 25 2017
MAPLE
a:= proc(n) option remember; combinat[fibonacci](n)
-add(a(d), d=numtheory[divisors](n) minus {n})
end:
seq(a(n), n=1..42); # Alois P. Heinz, Oct 04 2025
MATHEMATICA
mt[n_] := Block[{d = Divisors[n]}, Plus @@ (MoebiusMu /@ (n/d)*Fibonacci /@ d)]; Table[ mt[n], {n, 38}] (* Robert G. Wilson v Dec 10 2004 *)
a[n_] := DivisorSum[n, Fibonacci[#] MoebiusMu[n/#]&]; Array[a, 40] (* Jean-François Alcover, Dec 01 2015 *)
PROG
(PARI) a(n)=sumdiv(n, d, fibonacci(d)*moebius(n/d))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Robert G. Wilson v, Dec 10 2004
STATUS
approved
