A182330 Primes of the form 5^k + 2.
3, 7, 127, 762939453127
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..7
Programs
-
Mathematica
Select[Table[5^n + 2, {n, 0, 500}], PrimeQ] (* T. D. Noe, Apr 25 2012 *)
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.
Select[Table[5^n + 2, {n, 0, 500}], PrimeQ] (* T. D. Noe, Apr 25 2012 *)
G.f. = 6 + 10*x + 30*x^2 + 130*x^3 + 630*x^4 + 3130*x^5 + 15630*x^6 + ... - _Michael Somos_, Jan 28 2019
List([0..30], n -> 5^n +5); # G. C. Greubel, Jan 27 2019
[5^n+5: n in [0..35]];
Table[5^n + 5, {n, 0, 40}] (* Vincenzo Librandi, Sep 30 2013 *)
a(n)=5^n+5 \\ Charles R Greathouse IV, Oct 07 2015
[5^n+5 for n in range(40)] # G. C. Greubel, Jan 27 2019
[5^n+4: n in [0..30]];
Table[5^n + 4, {n, 0, 30}] LinearRecurrence[{6,-5},{5,9},30] (* Harvey P. Dale, Mar 15 2025 *)
a(n) = A178676(n)-10 = A242329(n)-9 = A242328(n)-7 = A034474(n)-6 = A000351(n)-5. - _Elmo R. Oliveira_, Dec 06 2023
List([0..30], n -> 5^n-5); # G. C. Greubel, Jan 28 2019
[5^n-5: n in [0..25]];
5^Range[0,30]-5 (* Vladimir Joseph Stephan Orlovsky, Feb 20 2011 *) LinearRecurrence[{6,-5},{-4,0},30] (* Harvey P. Dale, Aug 23 2024 *)
vector(30, n, n--; 5^n-5) \\ G. C. Greubel, Jan 28 2019
[5^n-5 for n in range(30)] # G. C. Greubel, Jan 28 2019
Comments