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.
%I A152117 #12 Sep 08 2022 08:45:39 %S A152117 8,21,43,83,133,197,271,359,497,631,785,977,1135,1307,1553,1851,2101, %T A152117 2371,2693,2953,3271,3647,4045,4561,5051,5407,5777,6157,6551,7327, %U A152117 8129,8713,9247,9941,10651,11245,12003,12707,13433,14259,14941,15815,16705 %N A152117 a(n) = n*(n-th prime) + (n+1)*((n+1)-th prime). %C A152117 a(n) = A033286(n) + A033286(n+1). %H A152117 Klaus Brockhaus, <a href="/A152117/b152117.txt">Table of n, a(n) for n=1..1000</a> %e A152117 5*(fifth prime) + 6*(sixth prime) = 5*11 + 6*13 = 55 + 78 = 133. %t A152117 Total/@Partition[Times@@@Table[{n,Prime[n]},{n,50}],2,1] (* _Harvey P. Dale_, Aug 13 2019 *) %o A152117 (Magma) [ n*NthPrime(n)+(n+1)*NthPrime(n+1): n in [1..43] ]; %o A152117 (PARI) a(n) = n*prime(n) + (n+1)*prime(n+1); \\ _Michel Marcus_, Feb 05 2016 %Y A152117 Cf. A000040 (prime numbers), A033286 (n*(n-th prime)), A033287 (first differences of A033286), A119487 (primes in this sequence). %K A152117 nonn %O A152117 1,1 %A A152117 _Klaus Brockhaus_, Dec 10 2008