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!)
A003138 Nearest integer to 24*(2^n - 1)/n. 4
24, 36, 56, 90, 149, 252, 435, 765, 1363, 2455, 4466, 8190, 15122, 28085, 52427, 98303, 185041, 349524, 662257, 1258290, 2396744, 4575603, 8753329, 16777215, 32212254, 61946643, 119304646, 230087533 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
In case of a tie, round up. - N. J. A. Sloane, Nov 06 2022
LINKS
R. J. Penrose, Puzzle, Twistor Newsletter, No. 10 (July 1980), p. 22.
R. J. Penrose, Puzzle, Twistor Newsletter, No. 10 (July 1980), p. 22. [Cached copy]
R. J. Penrose, Solution to puzzle, Twistor Newsletter, No. 41, p. 37, 1996.
R. J. Penrose, Solution to puzzle, Twistor Newsletter, No. 41, p. 37, 1996. [Cached copy]
Z. Sunic, Tree morphisms, transducers and integer sequences, arXiv:math/0612080 [math.CO], 2006.
MATHEMATICA
A003138[n_]:= With[{m=24*(2^n-1)/n}, If[Floor[m+1/2] -Floor[m]>=1/2, Ceiling[m], Floor[m]]];
Table[A003138[n], {n, 70}] (* G. C. Greubel, Nov 04 2022 *)
PROG
(Magma) [Round(24*(2^n -1)/n): n in [1..70]]; // G. C. Greubel, Nov 04 2022
(SageMath) [round(24*(2^n -1)/n) for n in range(1, 71)] # G. C. Greubel, Nov 04 2022
(PARI) a(n) = round(24*(2^n - 1)/n); \\ Michel Marcus, Nov 05 2022
CROSSREFS
Sequence in context: A124283 A143645 A003176 * A003177 A038530 A262428
KEYWORD
nonn,easy
AUTHOR
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 April 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)