Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A122061
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A122061 First pentagonal number, 2nd hexagonal number, 3rd heptagonal number, 4th octagonal number and then repeat the same pattern: 5th pentagonal, 6th hexagonal, 7th heptagonal, 8th octagonal, etc. +0
1
1, 6, 18, 40, 35, 66, 112, 176, 117, 190, 286, 408, 247, 378, 540, 736, 425, 630, 874, 1160, 651, 946, 1288, 1680, 925, 1326, 1782, 2296, 1247, 1770, 2356, 3008, 1617, 2278, 3010, 3816, 2035, 2850, 3744, 4720, 2501, 3486, 4558, 5720, 3015, 4186, 5452 (list; graph; listen)
OFFSET

1,2

COMMENT

From a quiz.

REFERENCES

A. Wareham, Test Your Brain Power, Ward Lock Ltd (1995).

FORMULA

a(n) = n*(3*n-1)/2 if n=1 mod 4 or n*(4*n-2)/2 if n=2 mod 4 or n*(5*n-3)/2 if n=3 mod 4 or n*(6*n-4)/2 if n=0 mod 4

PROGRAM

(PARI) for(n=1, 60, m=(n+3)%4; print1(n*((m+3)*n-m-1)/2, ", "))

CROSSREFS

Cf. A060354.

Adjacent sequences: A122058 A122059 A122060 this_sequence A122062 A122063 A122064

Sequence in context: A005899 A129863 A035489 this_sequence A002411 A023658 A059834

KEYWORD

nonn

AUTHOR

Herman Jamke (hermanjamke(AT)fastmail.fm), Sep 14 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 8 07:45 EST 2009. Contains 166143 sequences.


AT&T Labs Research