login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A195528 Integers n that are k-gonal for precisely 4 distinct values of k, where k >= 3. 7
36, 45, 66, 81, 105, 120, 153, 171, 190, 196, 210, 261, 280, 351, 378, 396, 400, 405, 406, 456, 465, 477, 484, 496, 532, 576, 585, 606, 621, 630, 645, 666, 715, 726, 729, 736, 741, 742, 765, 780, 784, 801, 855, 876, 891, 910, 945, 960, 981, 1015, 1045, 1056 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A177025 for number of ways a number can be represented as a polygonal number.
LINKS
EXAMPLE
36 is in the sequence because it is a triangular number (A000217), a square number (A000290), a tridecagonal number (A051865), and a 36-gonal number.
MATHEMATICA
data1=Reduce[1/2 n (n(k-2)+4-k)==# && k>=3 && n>0, {k, n}, Integers]&/@Range[1056]; data2=If[Head[#]===And, 1, Length[#]] &/@data1; data3=DeleteCases[Table[If[data2[[k]]==4, k], {k, 1, Length[data2]}], Null]
PROG
(Python)
A195528_list = []
for m in range(1, 10**4):
n, c = 3, 0
while n*(n+1) <= 2*m:
if not 2*(n*(n-2) + m) % (n*(n - 1)):
c += 1
if c > 3:
break
n += 1
if c == 3:
A195528_list.append(m) # Chai Wah Wu, Jul 28 2016
CROSSREFS
Sequence in context: A250641 A168107 A048034 * A144291 A068143 A264961
KEYWORD
nonn
AUTHOR
Ant King, Sep 21 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)