login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060019 a(n) = floor(2*sqrt(prime(n)-2)) where prime(n) = n-th prime. 2
0, 2, 3, 4, 6, 6, 7, 8, 9, 10, 10, 11, 12, 12, 13, 14, 15, 15, 16, 16, 16, 17, 18, 18, 19, 19, 20, 20, 20, 21, 22, 22, 23, 23, 24, 24, 24, 25, 25, 26, 26, 26, 27, 27, 27, 28, 28, 29, 30, 30, 30, 30, 30, 31, 31, 32, 32, 32, 33, 33, 33, 34, 34, 35, 35, 35 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
J. R. Griggs, Spanning subset sums for finite Abelian groups, Discrete Math., 229 (2001), 89-99.
FORMULA
For n=1, prime(1) is 2, and a(n) = 0.
PROG
(PARI) a(n) = floor(2*sqrt(prime(n)-2)); \\ Michel Marcus, Nov 26 2015
(PARI) a(n, p=prime(n))=sqrtint(4*p-8) \\ Charles R Greathouse IV, Jan 24 2018
CROSSREFS
Cf. A060018.
Sequence in context: A154257 A336406 A297351 * A359100 A093451 A106006
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 17 2001
EXTENSIONS
Offset set to 1 by Michel Marcus, Nov 26 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 14:32 EDT 2024. Contains 371960 sequences. (Running on oeis4.)