OFFSET
0,1
COMMENTS
a(n) < 0 for n < 4, a(n) = 0 for n = 4 and a(n) > 0 for n > 4. - Bernard Schott, Feb 11 2020
The French variant would be n - A167507(n) = (-4, -1, -2, -2, -2, 1, 3, 3, 4, 5, 7, 7, 7, 7, 6, 9, 11, ...). The German variant would be n - A007208(n) = (-3, -2, -1, 0, 1, 1, 1, 4, 5, 6, 8, 7, 5, 6, 7, 8, 9, 10, ...). - M. F. Hasler, Mar 02 2020
REFERENCES
GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See pages 49 and 214.
FORMULA
a(n) = n - A005589(n). - Michel Marcus, Feb 11 2020
EXAMPLE
Seven contains 5 letters, therefore a(7) = 7 - 5 = 2.
PROG
CROSSREFS
KEYWORD
sign,word,less
AUTHOR
Jon Perry, Oct 14 2002
EXTENSIONS
Corrected and extended by David W. Wilson, Jul 04 2005
STATUS
approved