|
| |
|
|
A060018
|
|
Floor(2*sqrt(n-2)).
|
|
4
| |
|
|
0, 2, 2, 3, 4, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 2,2
|
|
|
REFERENCES
| J. R. Griggs, Spanning subset sums for finite Abelian groups, Discrete Math., 229 (2001), 89-99.
|
|
|
LINKS
| Harry J. Smith, Table of n, a(n) for n = 2..1000
|
|
|
PROG
| (PARI) { default(realprecision, 100); for (n=2, 1000, write("b060018.txt", n, " ", floor(2*sqrt(n - 2))); ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jul 01 2009]
(PARI) a(n)=sqrtint(4*n-8) \\ Charles R Greathouse IV, Aug 23 2011
|
|
|
CROSSREFS
| Cf. A060019.
Sequence in context: A034136 A189638 A097535 * A089576 A076642 A135304
Adjacent sequences: A060015 A060016 A060017 * A060019 A060020 A060021
|
|
|
KEYWORD
| nonn,easy
|
|
|
AUTHOR
| N. J. A. Sloane (njas(AT)research.att.com), Mar 17 2001
|
| |
|
|