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!)
A123651 a(n) = 1 + n^2 + n^3 + n^5 + n^7 + n^11 + n^13 + n^17. 3
8, 141485, 130914100, 17251189841, 764209065776, 16940083223773, 232729381165100, 2252358161564225, 16679754951397336, 100010100010101101, 505481836542757988, 2218718842990269265, 8650720586711446400 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
7th row, A(7,n), of the infinite array A(k,n) = 1 + Sum_{i=1..k} n^prime(i). If we deem prime(0) = 1, the array is A(k,n) = Sum_{i=0..k} n^prime(i). The first row is A002522 = 1 + n^2. The second row is A098547 = 1 + n^2 + n^3. The 3rd row, A(3,n), is A123650. The 4th row, A(4,n), is A123111 1 + n^2 + n^3 + n^5 + n^7. 10101101 (base n). A(n,n) is A123113 Main diagonal of prime power sum array. The current sequence, A(7,n), can never be prime, because of the polynomial factorization a(n) = 1 + n^2 + n^3 + n^5 + n^7 + n^11 + n^13 + n^17 = +/- (n^2+1)*(n^15 -n^13 +2n^11 -n^9 +n^7 +n^3 +1). It can be semiprime, as with a(2) and with a(10) = 100010100010101101 = 101 * 990199010001001 and a(14). We similarly have polynomial factorization for A123652 = A(13,n) = 1 +n^2 +n^3 +n^5 +...+ n^41.
LINKS
FORMULA
a(n) = 1 + n^2 + n^3 + n^5 + n^7 + n^11 + n^13 + n^17 = 100010100010101101 (base n) = +/- (n^2+1)*(n^15-n^13+2n^11-n^9+n^7+n^3+1).
MATHEMATICA
Table[Total[n^Prime[Range[7]]]+1, {n, 20}] (* Harvey P. Dale, Aug 22 2012 *)
PROG
(PARI) for(n=1, 25, print1(1 + n^2 + n^3 + n^5 + n^7 + n^11 + n^13 + n^17, ", ")) \\ G. C. Greubel, Oct 17 2017
(Magma) [1 + n^2 + n^3 + n^5 + n^7 + n^11 + n^13 + n^17: n in [1..25]]; // G. C. Greubel, Oct 17 2017
CROSSREFS
Sequence in context: A269877 A123276 A308138 * A210812 A223939 A013846
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Oct 04 2006
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 August 12 15:11 EDT 2024. Contains 375113 sequences. (Running on oeis4.)