

A116572


a(n) = floor(prime(n)/5) for n > 2, a(1) = a(2) = 1.


2



1, 1, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 8, 9, 10, 11, 12, 13, 14, 14, 15, 16, 17, 19, 20, 20, 21, 21, 22, 25, 26, 27, 27, 29, 30, 31, 32, 33, 34, 35, 36, 38, 38, 39, 39, 42, 44, 45, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 56, 58, 61, 62, 62, 63, 66, 67, 69
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,5


LINKS

G. C. Greubel, Table of n, a(n) for n = 1..5000


MATHEMATICA

Join[{1, 1}, Quotient[Prime[Range[3, 80]], 5]] (* Vincenzo Librandi, Apr 14 2015 *)


PROG

(Magma) [1, 1] cat [NthPrime(n) div 5: n in [3..80]]; // Vincenzo Librandi, Apr 14 2015
(PARI) a(n)=if(n<5, 1, prime(n)\5) \\ Charles R Greathouse IV, Sep 21 2017


CROSSREFS

Sequence in context: A030719 A126027 A111581 * A342517 A062049 A025764
Adjacent sequences: A116569 A116570 A116571 * A116573 A116574 A116575


KEYWORD

nonn,easy,less


AUTHOR

Roger L. Bagula, Mar 18 2006


EXTENSIONS

More terms from Vincenzo Librandi, Apr 14 2015
Offset corrected by Charles R Greathouse IV, Sep 21 2017
New name from Charles R Greathouse IV, Sep 21 2017


STATUS

approved



