login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A084252 A measure of how close r^n is to an integer where r is the real root of x^3-x-1, i.e. r = (1/2+sqrt(23/108))^(1/3) + (1/2-sqrt(23/108))^(1/3) = 1.3247.... (Higher absolute value of a(n) means closer, negative means less than closest integer.). 1
3, -4, 3, 13, 13, 2, 6, 2, -2, -3, 21, 5, -3, 4, -10, -18, 7, -6, 10, -139, -16, 11, -14, 39, 54, -23, 23, -39, 3479, 53, -40, 52, -158, -165, 78, -81, 148, 2429, -177, 140, -191, 657, 517, -269, 289, -563, -3923, 595, -492, 702, -2833, -1645, 933, -1041, 2156, 9021, -2012, 1740, -2590, 12872, 5304, -3242, 3756 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

FORMULA

a(n) = round[1/(r^n-round[r^n])]

EXAMPLE

a(4)=13 since r^4=3.0795956..., 1/(3.0795956...-round[3.0795956...])=1/0.0795956...=12.5635... and round[12.5635...]=13.

CROSSREFS

Cf. A056581, A060006. Positive values when n is in A051016 and negative when n is in A051017.

Sequence in context: A172004 A051508 A172990 * A190959 A038018 A108658

Adjacent sequences:  A084249 A084250 A084251 * A084253 A084254 A084255

KEYWORD

sign

AUTHOR

Henry Bottomley (se16(AT)btinternet.com), May 22 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 16:49 EST 2012. Contains 206058 sequences.