OFFSET
1,1
COMMENTS
Corresponding centered pentagonal primes are listed in A145838 = {31, 181, 331, 601, 1051, 1381, 3331, ...}.
LINKS
Eric Weisstein's World of Mathematics, Centered Pentagonal Number
MATHEMATICA
(Position[LinearRecurrence[{3, -3, 1}, {1, 6, 16}, 400], _?PrimeQ]// Flatten)-1 (* Harvey P. Dale, Sep 08 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Mar 21 2009
EXTENSIONS
Extended by R. J. Mathar, Mar 26 2009
Edited by N. J. A. Sloane, Apr 06 2009
STATUS
approved