OFFSET
1,3
COMMENTS
a(n) = A005837(n) - 1. - Alois P. Heinz, Jan 31 2014
REFERENCES
R. K. Guy, Unsolved Problems in Number Theory, E10.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
David W. Wilson, Table of n, a(n) for n = 1..10000 a(1..1001) from Alois P. Heinz
MATHEMATICA
t = {0, 1, 2}; Do[s = Table[Append[i, n], {i, Subsets[t, {3}]}];
If[! MemberQ[Table[Differences[i, 2], {i, s}], {0, 0}], AppendTo[t, n]], {n, 3, 200}]; t (* T. D. Noe, Apr 17 2014 *)
CROSSREFS
Summary of increasing sequences avoiding arithmetic progressions of specified lengths (the second of each pair is obtained by adding 1 to the first):
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Jeffrey Shallit, Aug 15 1995.
Edited (with new offset, etc.) by N. J. A. Sloane, Jan 04 2016
STATUS
approved