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.

A120459 Row sums of A120458.

This page as a plain text file.
%I A120459 #10 Jun 08 2025 05:01:11
%S A120459 1,3,14,161,3124,181259,6732438,493478345,24995572328,2255433009731,
%T A120459 470444892889498,38714638073629151,7749166585021832892,
%U A120459 1203906832960860262109,121893712541593098356318,17161342484454585041813495,4656941131185104848296141136,1513056629126772227843475996471
%N A120459 Row sums of A120458.
%F A120459 From _Amiram Eldar_, Jun 08 2025: (Start)
%F A120459 a(n) = 1 + Sum_{k=1..n} prime(k)^n.
%F A120459 a(n) = A291140(n) + 1 for n >= 1. (End)
%t A120459 a[n_] := 1 + Sum[Prime[k]^n, {k, 1, n}]; Array[a, 18, 0] (* _Amiram Eldar_, Jun 08 2025 *)
%o A120459 (PARI) a(n) = 1 + sum(k = 1, n, prime(k)^n); \\ _Amiram Eldar_, Jun 08 2025
%Y A120459 Cf. A120458, A291140.
%K A120459 nonn
%O A120459 0,2
%A A120459 _Roger L. Bagula_, Jun 24 2006
%E A120459 More terms from _Amiram Eldar_, Jun 08 2025