[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A062295 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
A B_2 sequence: a(n) is the smallest square such that pairwise sums of not necessarily distinct elements are all distinct.
(history; published version)
#13 by Alois P. Heinz at Tue Sep 05 14:54:16 EDT 2023
STATUS

proposed

approved

#12 by Chai Wah Wu at Tue Sep 05 14:43:20 EDT 2023
STATUS

editing

proposed

#11 by Chai Wah Wu at Tue Sep 05 14:43:16 EDT 2023
PROG

(Python)

from itertools import count, islice

def A062295_gen(): # generator of terms

aset1, aset2, alist = set(), set(), []

for k in (n**2 for n in count(1)):

bset2 = {k<<1}

if (k<<1) not in aset2:

for d in aset1:

if (m:=d+k) in aset2:

break

bset2.add(m)

else:

yield k

alist.append(k)

aset1.add(k)

aset2 |= bset2

A062295_list = list(islice(A062295_gen(), 30)) # Chai Wah Wu, Sep 05 2023

STATUS

approved

editing

#10 by N. J. A. Sloane at Tue Oct 15 22:31:02 EDT 2013
AUTHOR

_Labos E. (labos(AT)ana.sote.hu), Elemer_, Jul 02 2001

Discussion
Tue Oct 15
22:31
OEIS Server: https://oeis.org/edit/global/2029
#9 by Russ Cox at Fri Mar 30 17:27:33 EDT 2012
EXTENSIONS

Edited, corrected and extended by _Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), _, Sep 24 2007

Discussion
Fri Mar 30
17:27
OEIS Server: https://oeis.org/edit/global/145
#8 by Russ Cox at Sun Jul 10 18:19:50 EDT 2011
LINKS

<a href="/Sindx_index/Br.html#B_2">Index entries for B_2 sequences</a>

Discussion
Sun Jul 10
18:19
OEIS Server: https://oeis.org/edit/global/25
#7 by N. J. A. Sloane at Thu Nov 11 07:34:06 EST 2010
LINKS

Klaus Brockhaus, <a href="/A062295/b062295.txt">Table of n, a(n) for n = 1..4944</a>

<a href="/Sindx_Br.html#B_2">Index entries for B_2 sequences</a>

KEYWORD

nonn,new

nonn

#6 by N. J. A. Sloane at Tue Jun 01 03:00:00 EDT 2010
LINKS

K. Klaus Brockhaus, <a href="b062295.txt">Table of n, a(n) for n = 1..4944</a>

KEYWORD

nonn,new

nonn

#5 by N. J. A. Sloane at Fri Feb 27 03:00:00 EST 2009
LINKS

K. Brockhaus, <a href="http://www.research.att.com/~njas/sequences/b062295.txt">Table of n, a(n) for n = 1..4944</a>

<a href="http://www.research.att.com/~njas/sequences/Sindx_Br.html#B_2">Index entries for B_2 sequences</a>

KEYWORD

nonn,new

nonn

#4 by N. J. A. Sloane at Sun Jun 29 03:00:00 EDT 2008
LINKS

E. W. Eric Weisstein, 's World of Mathematics, <a href="http://mathworld.wolfram.com/B2-Sequence.html">B2-Sequence</a>

KEYWORD

nonn,new

nonn