OFFSET
1,1
COMMENTS
These are points at which the second differences (A073445) are nonzero.
LINKS
Dominic McCarty, Table of n, a(n) for n = 1..1000
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 nonzero terms at (A376603):
2, 4, 6, 8, 10, 12, 13, 17, 19, 23, 24, 26, 28, 30, 31, 35, 36, 40, 42, 46, 47, ...
MATHEMATICA
Join@@Position[Sign[Differences[Select[Range[100], CompositeQ], 2]], 1|-1]
CROSSREFS
These are the positions of nonzero terms in A073445.
For prime instead of composite we have A333214.
The complement is A376602.
For composite numbers: A002808 (terms), A073783 (first differences), A073445 (second differences), A376602 (zeros), A376651 (concave-up), A376652 (concave-down).
KEYWORD
nonn,changed
AUTHOR
Gus Wiseman, Oct 05 2024
STATUS
approved