The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A338398 Inverse boustrophedon transform of the primes. 1
 2, 1, 1, -3, -1, -29, 33, -315, 1251, -7905, 48667, -344723, 2623549, -21739937, 193680399, -1849767375, 18840708855, -203907377005, 2336594492591, -28262970918841, 359855118160333, -4810909461068941, 67379837645787507, -986592769520379701 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 LINKS Eric Weisstein's World of Mathematics, Boustrophedon Transform Wikipedia, Boustrophedon transform FORMULA a(n) = Sum_{k=0..n} (-1)^(n-k) * binomial(n,k) * A000111(n-k) * A000040(k+1). PROG (Python) import sympy def A338398(n):   T=[]   for k in range(n+1):     T.append(sympy.prime(k+1))     T.reverse()     for i in range(k):       T[i+1]=T[i]-T[i+1]   return T[-1] CROSSREFS Cf. A000040, A000111, A000747. Sequence in context: A318833 A173937 A046223 * A192181 A073463 A183568 Adjacent sequences:  A338395 A338396 A338397 * A338399 A338400 A338401 KEYWORD sign AUTHOR Pontus von BrÃ¶mssen, Oct 24 2020 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 16 11:58 EDT 2021. Contains 345057 sequences. (Running on oeis4.)