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-4 of 4 results.

A176845 Numbers k such that A147846(k) + A147846(k+1) is a square.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 13, 14, 16, 18, 19, 20, 22, 24, 25, 26, 28, 30, 32, 33, 34, 36, 38, 39, 40, 42, 44, 46, 48, 50, 51, 52, 54, 55, 56, 58, 60, 62, 64, 65, 66, 68, 69, 70, 72, 74, 76, 78, 80, 81, 82, 84, 85, 86, 88, 89, 90, 92, 94, 96, 97, 98, 100, 102, 103, 104, 106
Offset: 1

Views

Author

Giovanni Teofilatto, Apr 27 2010

Keywords

Comments

Does the sequence contain all even numbers? - Giovanni Teofilatto, Apr 29 2010

Crossrefs

Cf. A147846.

Programs

  • Maple
    From R. J. Mathar, Apr 30 2010: (Start)
    A127949 := proc(n) if issqr(1+8*n) then (sqrt(1+8*n)-1)/2 ; else -1 ; end if; end proc:
    A147846 := proc(n) option remember ; local k,a ; if n = 1 then 1; else for a from procname(n-1)+1 do k := A127949(a) ; if k > 0 then if isprime(k) or isprime(k+1) then return a; end if; end if; end do; end if; end proc:
    isA176845 := proc(n) issqr( A147846(n)+A147846(n+1)) ; end proc:
    for n from 1 to 400 do if isA176845(n) then printf("%d,",n) ; end if; end do; (End)

Extensions

Corrected (7 replaced by 8) and extended by R. J. Mathar, Apr 30 2010

A174219 Integers equal to sqrt of A147846(n) + A147846(n+1).

Original entry on oeis.org

2, 3, 4, 5, 6, 7, 11, 12, 13, 17, 18, 19, 23, 29, 30, 31, 37, 41, 42, 43, 47, 53, 59, 60, 61, 67, 71, 72, 73, 79, 83, 89, 97, 101, 102, 103, 107, 108, 109, 113, 127, 131, 137, 138, 139, 149, 150, 151, 157, 163, 167, 173, 179, 180, 181, 191, 192, 193, 197, 198, 199, 211
Offset: 1

Views

Author

Giovanni Teofilatto, Mar 12 2010

Keywords

Comments

Complement to A164276.

Crossrefs

Formula

A173919 Numbers that are prime or one less than a prime.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 16, 17, 18, 19, 22, 23, 28, 29, 30, 31, 36, 37, 40, 41, 42, 43, 46, 47, 52, 53, 58, 59, 60, 61, 66, 67, 70, 71, 72, 73, 78, 79, 82, 83, 88, 89, 96, 97, 100, 101, 102, 103, 106, 107, 108, 109, 112, 113, 126, 127, 130, 131, 136, 137, 138, 139
Offset: 1

Views

Author

Giovanni Teofilatto, Mar 02 2010

Keywords

Comments

Indices of the triangular numbers in A147846.
Integers k such that k or k+1 is prime. - Giovanni Teofilatto, Mar 05 2010
For a given common difference d, there always exists a longest possible arithmetic progression (AP) of primes, and the number of elements k in this AP of primes is necessarily a term of this sequence. See A123556 for explanations. - Bernard Schott, Mar 18 2023

Crossrefs

Complement to A068780. [Giovanni Teofilatto, Mar 11 2010]

Programs

  • Mathematica
    {#-1,#}&/@Prime[Range[40]]//Flatten//Union (* Harvey P. Dale, Dec 21 2018 *)

Formula

Extensions

Definition corrected and sequence extended by R. J. Mathar, Feb 24 2010, Mar 05 2010

A211007 Surface area of the first n faces of the structure mentioned in A211006.

Original entry on oeis.org

1, 6, 10, 15, 21, 28, 55, 66, 78, 91, 136, 153, 171, 190, 253, 276, 406, 435, 465, 496, 666, 703, 820, 861, 903, 946, 1081, 1128, 1378, 1431, 1711, 1770, 1830, 1891, 2211, 2278, 2485, 2556, 2628, 2701, 3081, 3160, 3403, 3486, 3916, 4005, 4656, 4753, 5050
Offset: 1

Views

Author

Omar E. Pol, Aug 12 2012

Keywords

Comments

All members of this sequence are triangular numbers A000217.
It appears that this is the same as A147846 without 3.

Crossrefs

Partial sums of A211006.
Showing 1-4 of 4 results.