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”).

A000038
Twice A000007.
(Formerly M0004)
26
2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
0,1
COMMENTS
Multiplicative with a(p^e) = 0. - Mitch Harris, Jun 09 2005
Also decimal expansion of 1/5, with keyword cons. - Wolfdieter Lang, Jan 19 2023
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Norman L. de Forest, The Square Root of 4 to a Million Places, Project Gutenberg EBook 3651, 2003.
Daniele A. Gewurz and Francesca Merola, Sequences realized as Parker vectors of oligomorphic permutation groups, J. Integer Seqs., Vol. 6, 2003.
Dominika Závacká, Cristina Dalfó, and Miquel Angel Fiol, Integer sequences from k-iterated line digraphs, CEUR: Proc. 24th Conf. Info. Tech. - Appl. and Theory (ITAT 2024) Vol 3792, 156-161. See p. 161, Table 2. See p. 6.
FORMULA
a(n) = 2*A000007(n) = (-1)^A000040(n) + 1. - Juri-Stepan Gerasimov, Oct 29 2009
MATHEMATICA
PadRight[{2}, 104] (* or *)
Array[(-1)^Prime@ # + 1 &, 105] (* Michael De Vlieger, Aug 15 2018 *)
PROG
(Haskell)
a000038 n = 2 * a000007 n -- James Spahlinger, Oct 08 2012
(PARI) a(n)=if(n, 0, 2) \\ Charles R Greathouse IV, Oct 09 2012
CROSSREFS
Sequence in context: A340851 A130779 A130706 * A335462 A353349 A349399
KEYWORD
easy,nonn,mult
STATUS
approved

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy