OFFSET
1,1
COMMENTS
While this sequence uses indices n = 1, 2, 3,... to refer to the n-th distinct term of A155934 (which is equal to n+1), sequence A003509 uses indices n = 2, 3, 4, ... to refer to the values of the distinct terms. - M. F. Hasler, Nov 07 2025
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
E. T. Wang and R. K. Guy, Problem E2429, Amer. Math. Monthly, 81 (1974), 1112-1113.
FORMULA
a(n) = A003509(n + 2) - 1, for n >= 1. - Sean A. Irvine, Jun 04 2015, corrected by M. F. Hasler, Nov 07 2025
EXAMPLE
Since k(2) = 2, we have a(1) = 2.
Since k(3) = k(4) = k(5) = k(6) = 3, we have a(2) = 6.
Since k(7) = k(8) = ... = k(12) = 4, we have a(3) = 12.
Since k(13) = k(14) = ... = k(20) = 5, we have a(4) = 20.
Since k(21) = k(22) = ... = k(30) = 6, we have a(5) = 30.
Since k(31) = k(32) = ... = k(43) = 7, we have a(6) = 43.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
EXTENSIONS
Edited by Herman Jamke (hermanjamke(AT)fastmail.fm), Mar 02 2008
Better definition from M. F. Hasler, Nov 06 2025
STATUS
approved
