|
| |
|
|
A135162
|
|
7^n-5^n-3^n+2^n. Constants are the prime numbers in decreasing order.
|
|
0
| |
|
|
0, 1, 19, 199, 1711, 13471, 101359, 743359, 5367871, 38381311, 272651599, 1928323519, 13596619231, 95666721151, 672114790639, 4717029615679, 33080299697791, 231867445524991, 1624598513486479, 11379820537307839, 79696895380235551, 558069016466824831, 3907436831415107119
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,3
|
|
|
FORMULA
| a(n)=7^n-5^n-3^n+2^n.
|
|
|
EXAMPLE
| a(4)=1711 because 7^4=2401, 5^4=625, 3^4=81, 2^4=16 and we can write 2401-625-81+16=1711.
|
|
|
PROG
| (MAGMA)[7^n-5^n-3^n+2^n: n in [0..50]][From V. Librandi, Dec 14 2010]
|
|
|
CROSSREFS
| Cf. A000079, A000244, A000351, A000420, A001047, A074527, A007689, A135158, A135159, A135160.
Sequence in context: A164890 A066007 A147830 * A185687 A067272 A037071
Adjacent sequences: A135159 A135160 A135161 * A135163 A135164 A135165
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Omar E. Pol (info(AT)polprimos.com), Nov 21 2007
|
|
|
EXTENSIONS
| More terms from Vincenzo Librandi, Dec 14 2010
|
| |
|
|