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.

A135485 a(n) = Sum_{i=1..n} prime(i)^(i-1), where prime(i) denotes i-th prime number.

This page as a plain text file.
%I A135485 #17 Dec 29 2023 10:49:16
%S A135485 1,4,29,372,15013,386306,24523875,918395614,79229380895,
%T A135485 14586375356764,834214662337565,178751836441797978,
%U A135485 22742242136807984059,1741006366419098769302,258407992554086508103671
%N A135485 a(n) = Sum_{i=1..n} prime(i)^(i-1), where prime(i) denotes i-th prime number.
%C A135485 The primes in this sequence are 29 = 2^0 + 3^1 + 5^2, 15013 = 2^0 + 3^1 + 5^2 + 7^3 + 11^4, 82630...60939 (a 107-digit number) = 2^0 + 3^1 + 5^2 + ... + 211^46, ...
%H A135485 G. C. Greubel, <a href="/A135485/b135485.txt">Table of n, a(n) for n = 1..250</a>
%t A135485 f[n_] := Sum[Prime[i]^(i - 1), {i, n}]; Array[f, 16] (* _Robert G. Wilson v_, Feb 12 2008 *)
%o A135485 (PARI) a(n) = sum(k=1, n, prime(k)^(k-1)); \\ _Michel Marcus_, Oct 15 2016
%Y A135485 Cf. A000040, A087480, A135484.
%Y A135485 Partial sums of A093360.
%K A135485 nonn
%O A135485 1,2
%A A135485 _Ctibor O. Zizka_, Feb 07 2008, Feb 17 2008
%E A135485 Edited and extended by _Robert G. Wilson v_, Feb 12 2008