Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A137235
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A137235 a(n) = (n+1)/2 if n is odd; a(n) = n/2 + 6 if n is even. +0
1
6, 1, 7, 2, 8, 3, 9, 4, 10, 5, 11, 6, 12, 7, 13, 8, 14, 9, 15, 10, 16, 11, 17, 12, 18, 13, 19, 14, 20, 15, 21, 16, 22, 17, 23, 18, 24, 19, 25, 20, 26, 21, 27, 22, 28, 23, 29, 24, 30, 25, 31, 26, 32, 27, 33, 28, 34, 29, 35, 30, 36, 31, 37, 32, 38, 33, 39, 34, 40, 35, 41, 36, 42, 37 (list; graph; listen)
OFFSET

0,1

COMMENT

See the paper by A. Karabegov and J. Holland for details.

REFERENCES

A. Karabegov and J. Holland, "Finding all solutions to the Magic Hexagram", The College Mathematics Journal, vol. 39 (2008), pp. 102-106.

FORMULA

O.g.f.: -(-6+5*x)/[(-1+x)^2 *(1+x)] . - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 16 2008

EXAMPLE

If n=0 then a(n) = 6.

If n=1 then a(n) = 1.

If n=2 then a(n) = 7.

MAPLE

A137235 := proc(n) if n mod 2 = 0 then n/2+6 ; else (n+1)/2 ; fi ; end: seq(A137235(n), n=0..80) ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 16 2008

MATHEMATICA

Table[If[OddQ[n], (n + 1)/2, (n + 12)/2], {n, 0, 60}] - Erich Friedman (efriedma(AT)stetson.edu), Mar 22 2008

CROSSREFS

Adjacent sequences: A137232 A137233 A137234 this_sequence A137236 A137237 A137238

Sequence in context: A113811 A126168 A028323 this_sequence A021166 A131231 A110942

KEYWORD

nonn

AUTHOR

Parthasarathy Nambi (PachaNambi(AT)yahoo.com), Mar 08 2008

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl) and Erich Friedman (efriedma(AT)stetson.edu), Mar 22 2008, Mar 16 2008

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 October 12 15:26 EDT 2008. Contains 144830 sequences.


AT&T Labs Research