Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A083515
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A083515 Smallest number k such that R(n) + k is a square, where R(n) = A002275. +0
1
0, 5, 10, 45, 125, 445, 1914, 4445, 1570, 44445, 156989, 444445, 941538, 4444445, 9826365, 44444445, 139362425, 444444445, 1287131805, 4444444445, 2222074045, 44444444445, 11388893810, 444444444445, 1138889380989, 4444444444445 (list; graph; listen)
OFFSET

1,2

COMMENT

For n > 1, a(n) is never zero. Proof: R(2) = 4*2+3, R(3) = 4*27+3. In general 111...1 = 4*2777...7+3, or if f(n) = 2777...7 = 7/9*(-1+10^n)+2^(n+1)*5^n, then R(n) = 4 * f(n-2) + 3. Hence repunits are of the form 4m+3 and cannot be square. --Paraphrased from Tattersall.

REFERENCES

J. Tattersall, "Elementary Number Theory in Nine Chapters". Cambridge University Press, 2001. pp. 57, 330.

FORMULA

a(n)=ceil(sqrt(R(n)))^2-R(n)

EXAMPLE

a(5) = 125 because 11111 + 125 = 11236 is a square.

CROSSREFS

Sequence in context: A038070 A136138 A122173 this_sequence A103971 A035406 A103932

Adjacent sequences: A083512 A083513 A083514 this_sequence A083516 A083517 A083518

KEYWORD

easy,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Jun 09 2003

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research