OFFSET
1,2
COMMENTS
These are points at which the second differences (A073445) are zero.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Wikipedia, Inflection point
EXAMPLE
The composite numbers (A002808) are:
4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25, 26, 27, 28, 30, 32, 33, ...
with first differences (A073783):
2, 2, 1, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 1, 1, 2, ...
with first differences (A073445):
0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, -1, 0, 0, 0, 1, 0, -1, 0, 0, 0, 1, -1, 0, ...
with zeros at (A376602):
1, 3, 5, 7, 9, 11, 14, 15, 16, 18, 20, 21, 22, 25, 27, 29, 32, 33, 34, 37, 38, ...
MAPLE
Cons:= remove(isprime, [seq(i, i=4..1000)]):
D1:= Cons[2..-1]-Cons[1..-2]:
D2:= D1[2..-1]-D1[1..-2]:
select(i -> D2[i]=0, [$1..nops(D2)]); # Robert Israel, Jun 07 2026
MATHEMATICA
Join@@Position[Differences[Select[Range[100], CompositeQ], 2], 0]
CROSSREFS
For prime instead of composite we have A064113.
These are the positions of zeros in A073445.
The complement is A376603.
For composite numbers: A002808 (terms), A073783 (first differences), A073445 (second differences), A376603 (nonzero curvature), A376651 (concave-up), A376652 (concave-down).
For inflection and undulation points: A064113 (prime), A376588 (non-perfect-power), A376591 (squarefree), A376594 (nonsquarefree), A376597 (prime-power), A376600 (non-prime-power).
Contains A336407.
KEYWORD
nonn,changed
AUTHOR
Gus Wiseman, Oct 05 2024
STATUS
approved
