cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A116572 #34 Sep 08 2022 08:45:24
%S A116572 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,
%T A116572 21,22,25,26,27,27,29,30,31,32,33,34,35,36,38,38,39,39,42,44,45,45,46,
%U A116572 47,48,50,51,52,53,54,55,56,56,58,61,62,62,63,66,67,69
%N A116572 a(n) = floor(prime(n)/5) for n > 2, a(1) = a(2) = 1.
%H A116572 G. C. Greubel, <a href="/A116572/b116572.txt">Table of n, a(n) for n = 1..5000</a>
%t A116572 Join[{1, 1}, Quotient[Prime[Range[3, 80]], 5]] (* _Vincenzo Librandi_, Apr 14 2015 *)
%o A116572 (Magma) [1,1] cat [NthPrime(n) div 5: n in [3..80]]; // _Vincenzo Librandi_, Apr 14 2015
%o A116572 (PARI) a(n)=if(n<5, 1, prime(n)\5) \\ _Charles R Greathouse IV_, Sep 21 2017
%K A116572 nonn,easy,less
%O A116572 1,5
%A A116572 _Roger L. Bagula_, Mar 18 2006
%E A116572 More terms from _Vincenzo Librandi_, Apr 14 2015
%E A116572 Offset corrected by _Charles R Greathouse IV_, Sep 21 2017
%E A116572 New name from _Charles R Greathouse IV_, Sep 21 2017