OFFSET
1,1
COMMENTS
f(m) is an approximation to A183136(m) = Sum_{k=1..m} floor(k/phi) based on assuming the floor in each term decreases it by 1/2 from what is otherwise a triangular sum; and further offset + 1/(2*phi) in f(m) chosen to improve the accuracy of this approximation.
The actual values of frac(k/phi) can differ from 1/2 each by a net amount which is enough to make m a term of this sequence.
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Hoang Xuan Thanh)
EXAMPLE
41 is term, because A183136(41) = 512 != 511 = floor(((41^2+1)*phi - 41) / (2*phi^2)).
MATHEMATICA
PositionIndex[MapIndexed[# != Floor[PolygonalNumber[#2[[1]]]/GoldenRatio - #2[[1]]/2 + 1/(2*GoldenRatio)] &, Accumulate[Floor[Range[500]/GoldenRatio]]]][True] (* Paolo Xausa, Jun 20 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hoang Xuan Thanh, Jun 13 2025
STATUS
approved
