|
Search: id:A034175
|
|
|
| A034175 |
|
a(n) is minimal such that a(n)+a(n-1) is a square and a(n) is not in {a(0), ..., a(n-1)}. |
|
+0 6
|
|
| 0, 1, 3, 6, 10, 15, 21, 4, 5, 11, 14, 2, 7, 9, 16, 20, 29, 35, 46, 18, 31, 33, 48, 52, 12, 13, 23, 26, 38, 43, 57, 24, 25, 39, 42, 22, 27, 37, 44, 56, 8, 17, 19, 30, 34, 47, 53, 28, 36, 45, 55, 66, 78, 91, 105, 64, 80, 41, 40, 60, 61, 83, 86, 58, 63, 81, 88, 108, 117, 79, 65
(list; graph; listen)
|
|
|
OFFSET
|
0,3
|
|
|
COMMENT
|
Conjectured to be a permutation of the nonnegative integers.
|
|
LINKS
|
Zak Seidov, Table of n, a(n) for n = 0..1999
Index entries for sequences that are permutations of the natural numbers
|
|
MATHEMATICA
|
a[ 0 ]=b[ 0 ]=0; lst={0}; For[ n=1, n<250, n++, For[ s=Ceiling[ Sqrt[ a[ n-1 ] ] ], MemberQ[ lst, s^2-a[ n-1 ] ], s++, Null ]; b[ a[ n ]=s^2-a[ n-1 ] ]=n; AppendTo[ lst, a[ n ] ] ]; Table[ a[ n ], {n, 0, 100} ]
|
|
CROSSREFS
|
Cf. A064928, A064929, A064930.
Sequence in context: A109443 A138777 A096895 this_sequence A139131 A130485 A115015
Adjacent sequences: A034172 A034173 A034174 this_sequence A034176 A034177 A034178
|
|
KEYWORD
|
nonn,easy,nice
|
|
AUTHOR
|
Dean Hickerson (dean(AT)math.ucdavis.edu), Oct 01 1998
|
|
|
Search completed in 0.002 seconds
|