login
This site is supported by donations 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. 1
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

Table of n, a(n) for n=1..66.

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: A075527 A154257 A297351 * A093451 A106006 A050460

Adjacent sequences:  A060016 A060017 A060018 * A060020 A060021 A060022

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 19 20:54 EST 2019. Contains 320328 sequences. (Running on oeis4.)