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.

Showing 1-3 of 3 results.

A154786 Row sums of triangle in A154725.

Original entry on oeis.org

0, 0, 0, 8, 10, 12, 14, 32, 36, 40, 44, 72, 52, 56, 90, 64, 102, 144, 38, 120, 168, 132, 138, 240, 200, 156, 270, 168, 174, 360, 124, 320, 396, 136, 350, 432, 296, 380, 546, 320, 328, 672, 344, 352, 810, 368, 376, 672, 294, 600, 816, 520, 530, 864, 660, 784, 1140
Offset: 1

Views

Author

Omar E. Pol, Jan 15 2009, Jan 16 2009

Keywords

Crossrefs

Programs

  • Maple
    A154786 := proc(n) local a,d; a := 0 ; for d from 1 to n-2 do if isprime(n-d) and isprime(n+d) then a := a+2*n; fi; od: a ; end: for n from 1 to 80 do printf("%d,",A154786(n)) ; od: # R. J. Mathar, Jan 18 2009

Formula

a(n) = A154785(n) - n.
a(n) = A005843(n)*A061357(n). - Omar E. Pol, Jan 20 2009

Extensions

Edited by Omar E. Pol, Jan 17 2009
Extended by R. J. Mathar, Jan 18 2009

A154783 Row sums of triangle in A154720.

Original entry on oeis.org

1, 6, 9, 20, 15, 30, 35, 40, 63, 70, 55, 108, 65, 70, 135, 112, 119, 162, 95, 140, 231, 198, 161, 312, 225, 182, 351, 196, 203, 450, 217, 352, 429, 238, 385, 540, 407, 418, 585, 440, 369, 798, 387, 396, 945, 414, 423, 720, 441, 650, 969, 676, 583, 1026, 825, 840
Offset: 1

Views

Author

Omar E. Pol, Jan 15 2009

Keywords

Comments

Also, row sums of triangle in A154722. - Omar E. Pol, Jan 16 2009

Crossrefs

Programs

  • Maple
    isA008578 := proc(n) RETURN(n=1 or isprime(n)) ; end: A154783 := proc(n) local a,d; a := n ; for d from 1 to n-1 do if isA008578(n-d) and isA008578(n+d) then a := a+2*n; fi; od: a ; end: for n from 1 to 80 do printf("%d,",A154783(n)) ; od: # R. J. Mathar, Jan 18 2009

Formula

a(n) = A154784(n) + n.

Extensions

Extended by R. J. Mathar, Jan 18 2009

A154785 Row sums of triangle in A154724.

Original entry on oeis.org

1, 2, 3, 12, 15, 18, 21, 40, 45, 50, 55, 84, 65, 70, 105, 80, 119, 162, 57, 140, 189, 154, 161, 264, 225, 182, 297, 196, 203, 390, 155, 352, 429, 170, 385, 468, 333, 418, 585, 360, 369, 714, 387, 396, 855, 414, 423, 720, 343, 650
Offset: 1

Views

Author

Omar E. Pol, Jan 15 2009

Keywords

Comments

Also, row sums of triangle in A154726.

Crossrefs

Programs

  • Maple
    for n from 1 to 50 do rsum:=0: for k from 1 to 2*n-1 do if(k=n or (isprime(k) and isprime(2*n-k)))then rsum:=rsum+k:fi:od: printf("%d, ",rsum):od: # Nathaniel Johnston, Apr 19 2011

Formula

a(n) = A154786(n) + n.

Extensions

a(11)-a(50) from Nathaniel Johnston, Apr 19 2011
Showing 1-3 of 3 results.