

A307493


Primes that are both centered triangular and centered square.


0




OFFSET

1,1


COMMENTS

Primes that are the sum of three consecutive triangular numbers and the sum of two consecutive squares.
The next term is too large to include.


LINKS

Table of n, a(n) for n=1..5.
Eric Weisstein's World of Mathematics, Centered Triangular Number
Eric Weisstein's World of Mathematics, Centered Square Number


MATHEMATICA

Select[LinearRecurrence[{195, 195, 1}, {1, 85, 16381}, 43], PrimeQ[#] &]


CROSSREFS

Intersection of A027862 and A125602.
Cf. A000040, A001110, A001844, A005448, A131750, A163251, A269414.
Sequence in context: A223109 A126824 A236778 * A075958 A075963 A075959
Adjacent sequences: A307490 A307491 A307492 * A307494 A307495 A307496


KEYWORD

nonn


AUTHOR

Ilya Gutkovskiy, Apr 10 2019


STATUS

approved



