OFFSET
1,29
COMMENTS
Consider a graph with the least possible number of vertices, containing an induced cycle of length k+3 for each k such that 2^k is a term in the binary expansion of n (cf. A370302). a(n) is the number of vertices in this graph in excess of the length of the longest required induced cycle (A000523(n)+3). (A370302(n) is the least total number of vertices.)
LINKS
Pontus von Brömssen, Table of n, a(n) for n = 1..1023
FORMULA
a(n) = 0 if and only if n is a power of 2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Pontus von Brömssen, Feb 14 2024
STATUS
approved