|
| |
|
|
A068626
|
|
a(3n) = a(3n-1) = 3*n^2, a(3n-2) = 3*n^2 - 3*n + 1.
|
|
5
| |
|
|
1, 3, 3, 7, 12, 12, 19, 27, 27, 37, 48, 48, 61, 75, 75, 91, 108, 108, 127, 147, 147, 169, 192, 192, 217, 243, 243, 271, 300, 300, 331, 363, 363, 397, 432, 432, 469, 507, 507, 547, 588, 588, 631, 675, 675, 721, 768, 768, 817, 867, 867, 919, 972, 972, 1027, 1083, 1083, 1141
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| Or, a(1) = 1, a(n) = n + a(n-1) if n does not divide a(n-1) else a(n) = a(n-1). E.g. a(6) = a(5) = 12 as 6 divides 12. a(10) =10 +a(9) 10+27 =37.
|
|
|
LINKS
| B. D. Swan, Table of n, a(n) for n=1,...,90000
|
|
|
CROSSREFS
| Sequence in context: A036056 A161815 A006661 * A126698 A088859 A177942
Adjacent sequences: A068623 A068624 A068625 * A068627 A068628 A068629
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Feb 26 2002
|
|
|
EXTENSIONS
| Entry revised by N. J. A. Sloane (njas(AT)research.att.com), Mar 13 2006.
|
| |
|
|