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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A176693 Union of squares and the even numbers. 1
0, 1, 2, 4, 6, 8, 9, 10, 12, 14, 16, 18, 20, 22, 24, 25, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 49, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 81, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 121, 122 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Table of n, a(n) for n=1..68.

MATHEMATICA

With[{upto=150}, Union[Join[Range[0, upto, 2], Range[Sqrt[upto]]^2]]] (* Harvey P. Dale, Apr 29 2015 *)

PROG

(PARI) is_A176693(n)=!bittest(n, 0)||issquare(n) \\ M. F. Hasler, Apr 19 2015

CROSSREFS

Cf. A128201 (Union of squares and the odd numbers).

Sequence in context: A247423 A182339 A110262 * A118672 A100417 A070089

Adjacent sequences:  A176690 A176691 A176692 * A176694 A176695 A176696

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Apr 24 2010

EXTENSIONS

Initial a(1)=0 added by M. F. Hasler, Apr 20 2015

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified December 10 07:27 EST 2016. Contains 278993 sequences.