login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A081467
a(n) = smallest (n+k) such that n divides the sum {(n+1)+ (n+2) + ... (n+k)} or n divides kn + k(k+1)/2.
5
2, 5, 5, 11, 9, 9, 13, 23, 17, 14, 21, 20, 25, 21, 20, 47, 33, 26, 37, 35, 27, 33, 45, 39, 49, 38, 53, 35, 57, 45, 61, 95, 44, 50, 49, 44, 73, 57, 51, 55, 81, 62, 85, 76, 54, 69, 93, 80, 97, 74, 68, 91, 105, 81, 65, 104, 75, 86, 117, 75
OFFSET
1,1
EXAMPLE
a(4) = 11 as 4 divides 5+6+7+8+9+10+11 and not a smaller sum.
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Mar 23 2003
EXTENSIONS
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 06 2003
STATUS
approved