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!)
A171465 Lexicographically earliest positive integer sequence such that no sum of consecutive terms is a positive square. 1

%I #7 Mar 26 2020 21:16:52

%S 2,3,2,3,2,3,2,3,2,12,5,5,8,5,5,3,2,5,13,10,14,10,5,3,3,2,5,5,5,3,20,

%T 7,3,2,5,5,5,7,6,5,23,5,6,6,2,3,2,5,5,3,37,5,5,5,5,3,5,5,5,19,8,13,2,

%U 5,28,5,7,5,5,2,15,38,5,3,2,3,2,3,2,32,18,17,6,5,13,6,33,11,2,15,22,2,3,17

%N Lexicographically earliest positive integer sequence such that no sum of consecutive terms is a positive square.

%C Let T(a) be the sequence of all positive integers (in order of increasing magnitude) that are not a sum of any number of consecutive terms of a, and let s be the sequence of positive squares. An interesting question is whether T(a) = s. Calculation shows that if 100 terms of a are used then T(a) agrees with s for the first 13 terms; if 1000 terms of a are used then T(a) agrees with s for the first 57 terms.

%H Rémy Sigrist, <a href="/A171465/b171465.txt">Table of n, a(n) for n = 1..10000</a>

%H Rémy Sigrist, <a href="/A171465/a171465.gp.txt">PARI program for A171465</a>

%o (PARI) See Links section.

%Y Cf. A168677, A332941 (prime variant).

%K nonn

%O 1,1

%A _John W. Layman_, Dec 09 2009

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 30 09:09 EDT 2024. Contains 372131 sequences. (Running on oeis4.)