OFFSET
1,1
COMMENTS
LINKS
Lars Blomberg, Table of n, a(n) for n = 1..143
EXAMPLE
MATHEMATICA
f[n_] := Length@Select[Divisors[2 n - 2], IntegerQ@Sqrt[1 + 4 #] &] - 1;
A279830 /@ Range[13]
(* Davin Park, Dec 28 2016 *)
CROSSREFS
Cf. A007862 (see alternative definition: the number of ways to represent n+1 as a centered polygonal number).
Cf. A063778 (the equivalent for polygonal numbers).
Subset of A275340 (the list of nontrivial centered polygonal numbers).
Subset of A101321 (centered polygonal numbers read by antidiagonals).
KEYWORD
nonn
AUTHOR
Daniel Sterman, Dec 20 2016
EXTENSIONS
Corrected and extended by Davin Park, Dec 27 2016
STATUS
approved