Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118667
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118667 a(n) = a(n-1)+ ((abs(2^a(n-1)*a(n-1)) mod 10). +0
1
0, 1, 3, 7, 13, 19, 21, 23, 27, 33, 39, 41, 43, 47, 53, 59, 61, 63, 67, 73, 79, 81, 83, 87, 93, 99, 101, 103, 107, 113, 119, 121, 123, 127, 133, 139, 141, 143, 147, 153, 159, 161, 163, 167, 173, 179, 181, 183, 187, 193, 199, 201, 203, 207, 213, 219, 221, 223, 227, 233 (list; graph; listen)
OFFSET

0,3

COMMENT

Apart from the first two terms all the other numbers can be formed adding in sequence 2, 4, 6, 6, 2 and so on. Example 1+(2)=3; 3+(4)=7; 7+(6)=13; 13+(6)=19; 19+(2)=21; ...

FORMULA

a(n) = a(n-1)+ ((abs(2^a(n-1)*a(n-1)) mod 10) being a(0) = 0 and a(1) = 1

a(n)=(2/5)*Sum{k=0..n-1}{3*(k mod 5)+[(k+1) mod 5]+[(k+4) mod 5]}-1+[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (ppl(AT)spl.at), Oct 07 2008]

EXAMPLE

a(2)= 1 + abs(2^1 *1)mod 10 = 1 + 2 mod 10 = 1 + 2 = 3

MAPLE

ANM:=proc(N) local an, i, anminus1, anplus1; anminus1:=0; an:=1; print (anminus1); print (an); for i from 2 by 1 to N do anplus1:=an+(abs(2^an*an) mod 10); print(anplus1); anminus1:=an; an:=anplus1; od; end: ANM(100);

CROSSREFS

Sequence in context: A045423 A032437 A076746 this_sequence A034017 A034021 A038978

Adjacent sequences: A118664 A118665 A118666 this_sequence A118668 A118669 A118670

KEYWORD

nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), May 19 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research