OFFSET
1,2
COMMENTS
Graham's conjecture: also numbers k such sigma(k) - k = floor(k/2). See Guy.
Also the domination number of the n-Sierpinski gasket graph. - Eric W. Weisstein, Mar 10 2025
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, Springer, 1st edition, 1981. See section B2.
LINKS
Eric Weisstein's World of Mathematics, Domination Number.
Eric Weisstein's World of Mathematics, Sierpinski Gasket Graph.
Index entries for linear recurrences with constant coefficients, signature (3).
FORMULA
a(n) = 3*a(n-1) for n > 3.
G.f.: (1 - x - 3*x^2)/(1 - 3*x).
E.g.f.: (2 + exp(3*x) + 3*x)/3.
MATHEMATICA
LinearRecurrence[{3}, {1, 2, 3}, 30]
PROG
(Python)
def A376478(n): return n if n<3 else 3**(n-2) # Chai Wah Wu, Nov 13 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Sep 24 2024
STATUS
approved
